{"name":"colorbrewer","version":"1.6.2","keywords":["colors","design","visualization","cartography","svg","d3","browserify"],"author":{"name":"Cynthia Brewer"},"license":"Apache-2.0","_id":"colorbrewer@1.6.2","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":"3dda7193a56ebe0e6a753fa1b7087376dfb62403","tarball":"http://registry-npm.ywwl.com/colorbrewer/download/colorbrewer-1.6.2.tgz","fileCount":10,"integrity":"sha512-2tJdMos0t6YISFHItFp6yEiJSKFOvNuHn1W0Gx2RM1Y1yYbRXc+JpHNM3FbnrpZ+/aw1HLFO52fCdZBbzgiA6Q==","signatures":[{"sig":"MEYCIQDDE1q34xLh4Ls4NMvGvbFjQ6P7eeyH48dMSJLzf1MOowIhAPHrnQd6vGbm6rJwU8Vgwso4nCjDNoxqynnvvOSv/NNo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141261,"size":20011,"noattachment":false,"key":"/colorbrewer/-/colorbrewer-1.6.2.tgz"},"main":"index.js","type":"module","style":"colorbrewer.css","types":"./types/index.d.ts","module":"index.es.js","gitHead":"d1932ccc4560e178aa7549347d4b73cb748729c8","scripts":{"build":"rollup -c rollup.config.js"},"_npmUser":{"name":"saikocat","email":"saikocatz@gmail.com"},"repository":{"url":"git+https://github.com/saikocat/colorbrewer.git","type":"git"},"_npmVersion":"11.6.2","description":"A shim module of colorbrewer2 by Cythina Brewer for browserify","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.40.0","typescript":"^5.8.3","@rollup/plugin-typescript":"^12.1.2"},"_npmOperationalInternal":{"tmp":"tmp/colorbrewer_1.6.2_1772203310520_0.13890575344319434","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":1772203310667,"_cnpm_publish_time":1772203310667,"dist-tags":{"latest":"1.7.0"}}