{"_id":"@allmaps/background-color","name":"@allmaps/background-color","dist-tags":{"latest":"1.0.0-beta.1"},"versions":{"1.0.0-beta.1":{"name":"@allmaps/background-color","version":"1.0.0-beta.1","contributors":[{"name":"Bert Spaan","email":"hello@bertspaan.nl","url":"https://bertspaan.nl"}],"description":"Detects the background color from an ImageBitmap object","type":"module","exports":"./dist/index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/allmaps/allmaps.git","directory":"packages/background-color"},"homepage":"https://allmaps.org","keywords":["allmaps"],"scripts":{"watch":"tsc --watch --noCheck","build":"tsc --noCheck","types":"tsc --noEmit","documentation":"remark . --output --use remark-api","lint":"prettier --ignore-path ../../.gitignore --check src && eslint src --ext .js,.ts","format":"prettier --ignore-path ../../.gitignore --write src"},"license":"MIT","dependencies":{"@allmaps/stdlib":"^1.0.0-beta.41"},"devDependencies":{"@allmaps/types":"^1.0.0-beta.23","@types/eslint":"^8.56.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","prettier":"^3.6.2","remark-api":"^1.1.0","remark-cli":"^12.0.1","typescript":"^5.9.3"},"gitHead":"0776371fa222f670b893d87b302c6334e825ac3e","_id":"@allmaps/background-color@1.0.0-beta.1","bugs":{"url":"https://github.com/allmaps/allmaps/issues"},"_nodeVersion":"25.8.0","_npmVersion":"lerna/4.9.4/node@v25.8.0+arm64 (darwin)","dist":{"integrity":"sha512-OHkPMzU3ILY5ICDDTfKPIhdNMjJswPu0flV7v9ApnpNzmu3aXF5R5fQ5oVRvy4kYXYM8GewEv9ju0a7itlS4Xg==","shasum":"099e1c0b5f70569a7c77341c0de34db34c60e47c","tarball":"https://registry.npmjs.org/@allmaps/background-color/-/background-color-1.0.0-beta.1.tgz","fileCount":7,"unpackedSize":6596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJ2L4JvwWHfwD6kj07YUDtti8RRo0tYvllKpWztV35LgIgDR3hVBC/XfHdzYGTxAaivSv1KVsVo3aCBsdTqB1ke/A="}]},"_npmUser":{"name":"bertspaan","email":"hello@bertspaan.nl"},"directories":{},"maintainers":[{"name":"bertspaan","email":"hello@bertspaan.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/background-color_1.0.0-beta.1_1780001973148_0.357100056406896"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-28T20:59:32.994Z","1.0.0-beta.1":"2026-05-28T20:59:33.289Z","modified":"2026-05-28T20:59:33.568Z"},"maintainers":[{"name":"bertspaan","email":"hello@bertspaan.nl"}],"description":"Detects the background color from an ImageBitmap object","homepage":"https://allmaps.org","keywords":["allmaps"],"repository":{"type":"git","url":"git+https://github.com/allmaps/allmaps.git","directory":"packages/background-color"},"contributors":[{"name":"Bert Spaan","email":"hello@bertspaan.nl","url":"https://bertspaan.nl"}],"bugs":{"url":"https://github.com/allmaps/allmaps/issues"},"license":"MIT","readme":"# @allmaps/background-color\n\n## API\n\n### `detectBackgroundColor(resourceSize, resourceMask, imageBitmap)`\n\n###### Parameters\n\n* `resourceSize` (`[number, number]`)\n* `resourceMask` (`Array<Point>`)\n* `imageBitmap` (`ImageBitmap`)\n\n###### Returns\n\n`[number, number, number]`.\n","readmeFilename":"README.md","_rev":"1-a49bb10a90c9c098f207d6a890473798"}