{"name":"colorbrewer","version":"1.6.0","keywords":["colors","design","visualization","cartography","svg","d3","browserify"],"author":{"name":"Cynthia Brewer"},"license":"Apache-2.0","_id":"colorbrewer@1.6.0","maintainers":[{"name":"saikocat","email":"saikocatz@gmail.com"}],"homepage":"http://colorbrewer2.org/","bugs":{"url":"https://github.com/saikocat/colorbrewer/issues","email":"saikocatz@gmail.com"},"dist":{"shasum":"ba4268f7a4235181b2b1311622cbb5c1f44cc383","tarball":"http://registry-npm.ywwl.com/colorbrewer/download/colorbrewer-1.6.0.tgz","fileCount":9,"integrity":"sha512-jT98T3ZYaQmZsQIhCAdXiWHaLpV9uESVGQKT/7Ab7Xx/tja91T/9aR0ONlDzBfcOAhmZ2LO0fc8XC/M3QW9kTg==","signatures":[{"sig":"MEUCIDYhGsEHDDrUmMf7AgQYXCiXjNwSIfNq5ZmTUnKKrGh7AiEA4Drr0r8/TZsmJZbjWhYWcaQDGLmHVrHvTgDvdz3c5a0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118125,"size":18857,"noattachment":false,"key":"/colorbrewer/-/colorbrewer-1.6.0.tgz"},"main":"index.js","type":"module","style":"colorbrewer.css","types":"./types/index.d.ts","module":"index.es.js","gitHead":"d9a1ce4db3078402020bf2509e4a292c15630831","scripts":{"build":"rollup -c rollup.config.js"},"_npmUser":{"name":"saikocat","email":"saikocatz@gmail.com"},"deprecated":"version has missing index.es.js","repository":{"url":"git+https://github.com/saikocat/colorbrewer.git","type":"git"},"_npmVersion":"11.3.0","description":"A shim module of colorbrewer2 by Cythina Brewer for browserify","directories":{},"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.40.0","typescript":"^5.8.3","@rollup/plugin-typescript":"^12.1.2"},"_npmOperationalInternal":{"tmp":"tmp/colorbrewer_1.6.0_1744986103283_0.026634525454471758","host":"s3://npm-registry-packages-npm-production"},"readme":"colorbrewer\n===========\n\nColor specifications and designs developed by Cynthia Brewer (http://colorbrewer2.org/).\n\nThis is a shim module of colorbrewer2 by Cythina Brewer for browserify.\n\nIt is also a shim for the [files provided in d3.js lib](https://github.com/d3/d3-scale-chromatic).\n\nAccess color schemes by name and the number of discrete colors needed, such as `colorbrewer.Blues[5]`. For a list of color schemes by group, use `colorbrewer.schemeGroups`. Example:\n\n```js\nconst colorbrewer = require('colorbrewer');\n\nconsole.log(colorbrewer.schemeGroups.sequential);\n// [\"BuGn\",\"BuPu\",\"GnBu\",...]\n\nconsole.log(colorbrewer.Blues[5]);\n// [\"#eff3ff\",\"#bdd7e7\",\"#6baed6\",\"#3182bd\",\"#08519c\"]\n```\n\n## Notes:\n* `1.6.1` is a major update that enable TypeScript to work correctly, and modernize the rollup build process.\n* `1.5.0` is using rollup to generate both UMD and ES module so hopefully this will resolve the problems for most of us.\n\n## Versions to avoid:\n* `1.6.0` due to missing `index.es.js` in packaging.\n* There is a compatibility issue with `1.4.0` so do lock your version to `1.3.0` for now.\n\n\n## Huge thanks to:\n* Brian Moran - [moranbw](https://github.com/moranbw) - for TypeScript import and build process enhancement since version `1.6.1`\n* Connor Peet - [connor4312](https://github.com/connor4312) - for adding initial\n  support for TypeScript since version `1.4.0`\n","publish_time":1744986103474,"_cnpm_publish_time":1744986103474,"dist-tags":{"latest":"1.7.0"}}