{"_id":"@11ty/image-color","_rev":"11-7cfa4459c5ad16bb1f8c356e94a28fac","name":"@11ty/image-color","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0-beta.1":{"name":"@11ty/image-color","version":"1.0.0-beta.1","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.0-beta.1","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"c72eec575e74b8164a114218d772a3c810aa18b0","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.0-beta.1.tgz","fileCount":4,"integrity":"sha512-bPaPvHojmDaNqaxBw4fphLXz/NL7sKUvnmRgAUDVF6VAUpCyZ5G5HmB35xJcVf40bafgxtMgYq49xShdcO9Vxg==","signatures":[{"sig":"MEUCIQCghNxQr4NOIxiSjD4Nga0N1HfQEV1Bekd7m+t+tYZ8egIgAb8nlMMwA5P4gYHJ8omCA1Hd44i9YdzCJBNZOCMOWXU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5405},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"20e75f4f0ebfa0e837de439da4dc382a4b847a9c","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.9.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.0-beta.1_1740505960456_0.37481447692674497","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@11ty/image-color","version":"1.0.0","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.0","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"0f768031ab7581c9d75a7ec5e747e8e19c6b0690","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.0.tgz","fileCount":4,"integrity":"sha512-f7Ee7M58HW/v348bJSLxfgn378og6zV1Sw8yYLBHzt+Plp7BcAmXuDZGO98QRvGnLkKQMbVqrBHrXtFVH8Qmcw==","signatures":[{"sig":"MEYCIQCQEOePGAxvOmQR+lUb+dl3P+SCpZRxl4wF/whL9lZYSAIhAPbQ0wTYoMg9YjoVz0jyY0IAbCKcBX8Edzh45H4l+PPH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5398},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"c65d3060cbd54858ac4f9ecc7cee19a4d40b3e85","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.0_1740506151697_0.14074273780096336","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@11ty/image-color","version":"1.0.1","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.1","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"2fe6848c1821aad8a622dd2927556d4aa4313b3c","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.1.tgz","fileCount":4,"integrity":"sha512-6MiTQDix1qLaxjrtB0gPbf7C95Fs17IkWDcAvCQ6RLlyURhautgfZbeCO1e2iVY1ld96bDgbnOXYjjun1oYFnw==","signatures":[{"sig":"MEYCIQDUimbzs6k2hZ/PCK3t6X5FtC+hTV0l0w2BPwdnxqX8sQIhAN1RKkth4EltJiUigI4pwKJYDIEKYrcqvCkbZ8YQVMZK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5504},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"31be77073186edc80a6c3f88398719c8cc3b3b4e","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.2","dependencies":{"colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.1_1740508356524_0.9397887635633135","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@11ty/image-color","version":"1.0.2","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.2","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"21a313ca88b84d897668dd780d2fd0df34a22983","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.2.tgz","fileCount":4,"integrity":"sha512-6C+q47xTOhLSgAvnRY8tme7R/hGAh2RQAcv5JMzMHPSB3yUfwZn48uivToTCdxqdZN5Y9qvm50oFd8WUnXyJAQ==","signatures":[{"sig":"MEQCIGiheCOo6qrIdcU13gcphB7U5TFGQCLiveFPLuligNTwAiAwoi5SWeyY2pg7vcyan7uBILyLVNExvTdyXXKFBM0x1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5554},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"b8b384bb479963f95068bfa04bf4ef24693e5a57","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.2_1740508865454_0.5696014774111544","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@11ty/image-color","version":"1.0.3","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.3","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"1cc3baca58605a6dd74d209692286de93cf4bb3e","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.3.tgz","fileCount":4,"integrity":"sha512-XBkPFK+VdYNcymWnFuaxHamBd+4U1zWCER+2mPUTDjlQCzkbupZhZeUgo0iE39YNILWEbprmfY0RYuwqsviwBg==","signatures":[{"sig":"MEYCIQCUPndkB5mjKTRVtaL/QJZL5qBfd8uBRF8EWqHuyVwI3QIhAMa070PDjweKVKh8ZoTnItiiQvNeP9q9Iavgsnq6LUi/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5793},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"fb7e5ec2e66af9194daae298ee729f3b78fd03e7","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"memoize":"^10.1.0","colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.3_1740578398320_0.1495666462623062","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@11ty/image-color","version":"1.0.4","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.4","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"5d200270bb6a6a69e405578d029c3ebf70486d65","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.4.tgz","fileCount":4,"integrity":"sha512-z+8lLKyGNu87RG3Rtv5dtlf9cWpVTAm3dgkJi2IY+XCTIfz8vc5IS3v0R1E4yusn7fZ2YVdAKcL6/TR1voyTqg==","signatures":[{"sig":"MEUCIQDE0XOiih2jihbGuZttsCzfFUwrdGKBvIIed827b6hAZgIgIdyiVqhni8vxvQBXY7uP9en3UJuJcVeI+eCCKAu0PuU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6348},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"3438c88baa518a6b68cbb37af470d7fc5949d6c2","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"debug":"^4.4.0","memoize":"^10.1.0","p-queue":"^8.1.0","colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2","@zachleat/get-pixels":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.4_1740585343007_0.7982839328586071","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@11ty/image-color","version":"1.0.5","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.5","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"181e2d25bd1a6fef6ddce383a9a57e7678ce36bc","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.5.tgz","fileCount":4,"integrity":"sha512-8/BU115eNO0fHt8Ro1vSGdEss0/pLN9dJe3dS0TL47U1dxlA8gXDQVMH2C5TDkzKoInd2LQBi4qsTIixKeD3kg==","signatures":[{"sig":"MEUCIHf+AglbEO3snAIOAy/jeUktzSR0rerzNDAHzRZo49QxAiEAj3MZ7/LQQEN41rx/uX2le63yDCBmAYv2m3BJBlGyO8U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7273},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"487c64fef831566fec0e37be243b8dc49d322c80","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.18.3","dependencies":{"debug":"^4.4.0","pngjs":"^7.0.0","memoize":"^10.1.0","ndarray":"^1.0.19","p-queue":"^8.1.0","colorjs.io":"^0.5.2","extract-colors":"^4.1.1","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.5_1740785172521_0.017596171275075623","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@11ty/image-color","version":"1.0.6","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.6","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"55c1a388e3facad98e61421b9ac471520ce10d17","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.6.tgz","fileCount":4,"integrity":"sha512-iVCD+TuL5RzTj8SfrO2fw5lqDgd3kuuNKUJNF1oCRjeHDGU9TS7CKb7dg6JeI9x7Nt1XtNjmzMVnWxM6NE97aw==","signatures":[{"sig":"MEUCICydxML+fvov3vsrt3BwG8eATdYQrYeM1MhZtU+K9KuLAiEAhuwCdTCAWl32xHsZaU3TV0NpqNXUxgUcZ9LCxcENkms=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7273},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"d844721143c73a298ae19be4c46c5df3d5780856","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"debug":"^4.4.0","pngjs":"^7.0.0","memoize":"^10.1.0","ndarray":"^1.0.19","p-queue":"^8.1.0","colorjs.io":"^0.5.2","extract-colors":"^4.2.0","@11ty/eleventy-img":"^6.0.1","@11ty/eleventy-fetch":"^5.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.6_1742568643368_0.1534235358257794","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@11ty/image-color","version":"1.0.7","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.7","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"281adca6654224a28d3d5e486d00b08223e99c3d","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.7.tgz","fileCount":4,"integrity":"sha512-Lc/8DNQNYSW8urClqkp3+cRm0VSpBkMpswD1YVQ7tUxejJdij7ycP+xd2Or0jAvqf1NzuZvJORYNxOuztQ4rPA==","signatures":[{"sig":"MEUCIQCRbTqSO4YozCX570q0+SreNqM7BM+OU2eWRPjIMSpBlgIgSZy/0qt8sccVql7yelpRw0HC3c9ZVVRywdYflayV8G4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7273},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"bb9b07fe31dd9ba4ac834d013184966139decd7c","scripts":{"test":"npx ava"},"_npmUser":{"name":"zachleat","email":"zachleatherman@gmail.com"},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"10.8.2","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"debug":"^4.4.1","pngjs":"^7.0.0","memoize":"^10.1.0","ndarray":"^1.0.19","p-queue":"^8.1.0","colorjs.io":"^0.5.2","extract-colors":"^4.2.1","@11ty/eleventy-img":"^6.0.4","@11ty/eleventy-fetch":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.7_1756245901446_0.14008559675053833","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@11ty/image-color","version":"1.0.8","author":{"url":"https://zachleat.com/","name":"Zach Leatherman","email":"zachleatherman@gmail.com"},"license":"MIT","_id":"@11ty/image-color@1.0.8","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"homepage":"https://github.com/11ty/image-color#readme","bugs":{"url":"https://github.com/11ty/image-color/issues"},"dist":{"shasum":"e15c2d10996e08889c14362f0deb8f7ae5dc7007","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-1.0.8.tgz","fileCount":4,"integrity":"sha512-KvDS3HFF/bO/gjyaPqX6s+pB7uTdKn+Sjjy4MfLuUW6NTzFUzckPZrPDLCcpLE3p0eX++O18E1XHn3WcXUXhdQ==","signatures":[{"sig":"MEYCIQC9x7GWO08TiaajvoQ/aFYP2s1XlQ6ZEjK6KIdQq2ol5gIhAJ8SQDUHVRBhBw1yWlMZk6mIdcHfpzsQGmrsGZjP5NVX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7273},"main":"image-color.js","type":"module","engines":{"node":">=18"},"funding":{"url":"https://opencollective.com/11ty","type":"opencollective"},"gitHead":"16aa7b6c67bd51084101f8627b5ae20a03cb9fb1","scripts":{"test":"npx ava"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:830629d8-3c2c-4342-9468-e847f00927b2"}},"repository":{"url":"git://github.com/11ty/image-color.git","type":"git"},"_npmVersion":"11.6.4","description":"Small utility to efficiently fetch the colors from an image.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"debug":"^4.4.3","pngjs":"^7.0.0","memoize":"^10.2.0","ndarray":"^1.0.19","p-queue":"^8.1.1","colorjs.io":"^0.5.2","extract-colors":"^4.2.1","@11ty/eleventy-img":"^6.0.4","@11ty/eleventy-fetch":"^5.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/image-color_1.0.8_1764708570598_0.22981148885463054","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@11ty/image-color","version":"2.0.0","description":"Small utility to efficiently fetch the colors from an image.","type":"module","main":"image-color.js","engines":{"node":">=22"},"scripts":{"test":"npx ava"},"publishConfig":{"access":"public"},"funding":{"type":"opencollective","url":"https://opencollective.com/11ty"},"author":{"name":"Zach Leatherman","email":"zachleatherman@gmail.com","url":"https://zachleat.com/"},"license":"MIT","repository":{"type":"git","url":"git://github.com/11ty/image-color.git"},"bugs":{"url":"https://github.com/11ty/image-color/issues"},"dependencies":{"@11ty/eleventy-fetch":"^5.1.3","@11ty/eleventy-img":"^7.0.0","colorjs.io":"^0.7.1","extract-colors":"^4.2.1","memoize":"^11.0.0","ndarray":"^1.0.19","obug":"^2.1.4","p-queue":"^9.3.3","pngjs":"^7.0.0"},"devDependencies":{"ava":"^8.0.1"},"gitHead":"94ae681240c0afc7039f0281e8528c8813b590ae","_id":"@11ty/image-color@2.0.0","homepage":"https://github.com/11ty/image-color#readme","_nodeVersion":"22.23.1","_npmVersion":"12.0.2","dist":{"integrity":"sha512-pGtSJCuScoPrB71SW2KvFX9oLKbTh6xBQ14Y1cTnMXS1lTEmt82xUuwe+06Lhz/GRIToOEEc3aiUH4APJrvY7Q==","shasum":"ba1e6f9d842e8c7d564282ff472d5377f52ad5ac","tarball":"https://registry.npmjs.org/@11ty/image-color/-/image-color-2.0.0.tgz","fileCount":4,"unpackedSize":7279,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@11ty%2fimage-color@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJWx3kRDQ8xyt308emJmZN1ybBwWoaBZ472hWMRasABAIgFy9N6tFpbr0Y2uVl6KGQJ1c3kJtLNnPkIsmx9EU4uNc="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:830629d8-3c2c-4342-9468-e847f00927b2"}},"directories":{},"maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/image-color_2.0.0_1785359329391_0.3172434790859342"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-25T17:52:40.323Z","modified":"2026-07-29T21:08:49.891Z","1.0.0-beta.1":"2025-02-25T17:52:40.667Z","1.0.0":"2025-02-25T17:55:51.930Z","1.0.1":"2025-02-25T18:32:36.698Z","1.0.2":"2025-02-25T18:41:05.635Z","1.0.3":"2025-02-26T13:59:58.491Z","1.0.4":"2025-02-26T15:55:43.189Z","1.0.5":"2025-02-28T23:26:12.699Z","1.0.6":"2025-03-21T14:50:43.533Z","1.0.7":"2025-08-26T22:05:01.635Z","1.0.8":"2025-12-02T20:49:30.782Z","2.0.0":"2026-07-29T21:08:49.542Z"},"bugs":{"url":"https://github.com/11ty/image-color/issues"},"author":{"name":"Zach Leatherman","email":"zachleatherman@gmail.com","url":"https://zachleat.com/"},"license":"MIT","homepage":"https://github.com/11ty/image-color#readme","repository":{"type":"git","url":"git://github.com/11ty/image-color.git"},"description":"Small utility to efficiently fetch the colors from an image.","maintainers":[{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"fortawesome-admin","email":"admin@fortawesome.com"}],"readme":"# `@11ty/image-color`\n\nA small utility to efficiently extract color information from images (with a memoization and a disk-cache). Requires Node 18 or newer.\n\n## Installation\n\nInstall from [npm: `@11ty/image-color`](https://www.npmjs.com/package/@11ty/image-color):\n\n```sh\nnpm install @11ty/image-color\n```\n\nBased on the great work of [`get-pixels`](https://www.npmjs.com/package/get-pixels/) (via the [`@zachleat/get-pixels` fork](https://github.com/zachleat/get-pixels)) and [`extract-colors`](https://www.npmjs.com/package/extract-colors).\n\n## Usage\n\n```js\nimport { getImageColors } from \"@11ty/image-color\";\n\n// Returns an array of color objects\nlet colors = await getImageColors(\"./sample.jpg\");\n\n// Works with local or remote images\n// let colors = await getImageColors(\"https://example.com/sample.jpg\");\n\n// Get oklch string values\ncolors.map(c => c.background);\n\n// Get hex values\ncolors.map(c => c.colorjs.toString({format: \"hex\"}));\n\n// Filter colors based on Lightness value\ncolors.filter(c => c.colorjs.oklch.l > .1);\n\n// Sort Lightest colors first\ncolors.sort((a, b) => {\n\treturn b.colorjs.oklch.l - a.colorjs.oklch.l;\n})\n```\n\nLearn more about [color.js Color objects](https://colorjs.io/docs/the-color-object).\n\n### Returns\n\nAn array of colors in the image, with the following properties:\n\n```js\n[{\n\tbackground, // oklch color string (you probably want this)\n\tforeground, // accessible color for text on top\n\n\tcolorjs, // colorjs.io Color object\n\n\tmode, // one of \"dark\" or \"light\", based on WCAG21 contrast versus #000 or #fff\n\tcontrast: {\n\t\tlight, // WCAG21 contrast color (number) versus white (#fff) (4.5+ is good)\n\t\tdark, // WCAG21 contrast color (number) versus black (#000) (4.5+ is good)\n\t},\n\n\ttoString(), // returns same as `background`\n}]\n```\n\nLearn more about [color.js Color objects](https://colorjs.io/docs/the-color-object).\n","readmeFilename":"README.md"}