Current collected state Current
Observed since 20 Oct, 18:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
11ty-dither
**Not Ready for Production**
Not Ready for Production
Dither images at build time for 11ty using dither-me-this.
11ty-dither takes a source image, and outputs dithered images in multiple sizes and formats.
It replaces your <img> element with a responsive <picture> element.
@11ty-dither and dither-me-this are open source projects. You can contribute via github.
npm install @11ty-dither
const { ditherAllImages } = require('@11ty-dither')
module.exports = (eleventyConfig) => {
const ditherOptions = {
/* Options for dither-me-this work here */
inputDirectory: './src',
outputDirectory: './_site',
imageFolder: '/images',
palette: ["#000", "#FFF"]
}
eleventyConfig.addPlugin(ditherAllImages, ditherOptions)
}
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
dither-me-thisEnvironment{
"local_name": "dither-me-this",
"alias": false,
"peer_metadata": null
} | ^0.0.3 | runtime |
jsdomEnvironment{
"local_name": "jsdom",
"alias": false,
"peer_metadata": null
} | ^16.4.0 | runtime |
node-fetchEnvironment{
"local_name": "node-fetch",
"alias": false,
"peer_metadata": null
} | ^2.6.1 | runtime |
pathEnvironment{
"local_name": "path",
"alias": false,
"peer_metadata": null
} | ^0.12.7 | runtime |
sharpEnvironment{
"local_name": "sharp",
"alias": false,
"peer_metadata": null
} | ^0.27.0 | runtime |
shorthashEnvironment{
"local_name": "shorthash",
"alias": false,
"peer_metadata": null
} | ^0.0.2 | runtime |
Source distribution
{
"integrity": "sha512-8KBI+HPP0h5IrYZVb0NxvmTaICpFvT4XQVRpSOxzTHTrUR61JSJbpYnmusCe926vulSuoThYVmoe7Pt+x/VtRg==",
"shasum": "86bb635188cefd1de329e0a696f85a5c2b662e56",
"tarball": "https://registry.npmjs.org/11ty-dither/-/11ty-dither-0.0.3.tgz",
"fileCount": 3,
"unpackedSize": 8059,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8IJpCRA9TVsSAnZWagAA/I8P/AsVsMjhTqbq36R4z+Vw\nf/MjkbYhP4kxg/lW/yI9aRkeJuOHdV7op7xkf2JcyZg8sClZh8VevZMV4N1P\nFq/07ZsZnM3scdQ82XvQ5NJi0sX4qElnzg6ULDtGB5/2Ui806rQWh1wGrQFP\n4JHhs3l5EZ54Wn/5U8uspJKC85D5VyQ/6meM1UJNIPZeIxVYqunJLp6ESKY7\nAzv+9WSz+CGMiwESW6NWeSEFUdhBKuf/WRgCExCP/cfU2Pf1Mp7JpXBtOKRT\nBBkCg3+42gYRiITWvPMVVZxl+72u8Hw6AQWOdqG2u22UQ7lMBNvRxTA9WlGt\nLmQkQgDQUnUyY6fMDt78OQBpsq2ttFdpc0uJutWEhSN/TrxoL9PD8KJD539i\ng6FBjjhKHoFif8O8eR4AEOXJbuf2/dIkolzSU2BXIYEhyuXycvtya+tp+e9c\n4+Kw6PkD107eOL1+aGRZ2Cg9RiIGqNe2DgOlDhujOqLqv3qtBJ+PSyhUbYxy\nfbZr1rTtktaRCDpwSkwdmzTCuJRRQcYXXzq3DAfTPFW1Z39w4EKbIJAFgkLF\nTqENDjHVbcjxPbZej3rJh54kTLXBiUlZaVyjylZtN30RfCMhAzpLlEXiYG0V\nAFM+i84ltwDxMffYTP9JCdeT61bw1soLwRiXqrj8nzVz1gi8WmvpktIO6gDL\nUlDk\r\n=vXnJ\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIDzfUxUd2wQgTM9JwymluXzTDRHYFM3GF365EzkbPBaqAiA85i5UJGzUZAl1cD8tyLHy2ccc9Jo4tYFW50i/6F7iJA=="
}
]
}Shared repository data · GitHub
Observed since 20 Oct, 18:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d3aa5c57b96f988f5d88efbf5d5ee9697fcfbd45b6595d0131d9f71edfce6b2a