{"name":"colormap","version":"2.3.1","keywords":["colormap","color map","color","hex","rgb","color-space","cubehelix","inferno","magma","plasma","viridis","matplotlib","oceanography","seismic","color gradient","color range","colorscale","color scale","plot","graph"],"author":{"name":"bpostlethwaite"},"license":"MIT","_id":"colormap@2.3.1","maintainers":[{"name":"alexcjohnson","email":"alex@plot.ly"},{"name":"andrefarzat","email":"andrefarzat@gmail.com"},{"name":"antrg","email":"antoine@plot.ly"},{"name":"archmoj","email":"arch.mojtaba.samimi@gmail.com"},{"name":"bpostlethwaite","email":"post.ben.here@gmail.com"},{"name":"byronz","email":"byron@plot.ly"},{"name":"chriddyp","email":"chris@plot.ly"},{"name":"dmt0","email":"dmt.shvedov@gmail.com"},{"name":"etpinard","email":"etienne.t.pinard@gmail.com"},{"name":"jackparmer","email":"jack@plot.ly"},{"name":"jackwluo","email":"thejackluo@gmail.com"},{"name":"jmmease","email":"jon.mease@gmail.com"},{"name":"marivet","email":"marcandre.rivet@gmail.com"},{"name":"matthew_plotly","email":"mattewchan@plot.ly"},{"name":"maxkfranz","email":"maxkfranz@gmail.com"},{"name":"nicolaskruchten","email":"nicolas@kruchten.com"},{"name":"rmarren1","email":"rymarr@tuta.io"},{"name":"shammamah","email":"shammamah@plot.ly"},{"name":"shannon-lal","email":"shannonlal@hotmail.com"},{"name":"t4rk","email":"t4rk@outlook.com"},{"name":"verazabeida","email":"vera.zabeida@gmail.com"},{"name":"vnieman","email":"valentijn@plot.ly"},{"name":"wilzbach","email":"sebi.wilzbach@gmail.com"},{"name":"xhlu","email":"xing.han.lu@mail.mcgill.ca"}],"homepage":"https://github.com/bpostlethwaite/colormap#readme","bugs":{"url":"https://github.com/bpostlethwaite/colormap/issues"},"dist":{"shasum":"9f2ab643591c0728d32332d5480b2487a4e0f249","tarball":"http://registry-npm.ywwl.com/colormap/download/colormap-2.3.1.tgz","fileCount":34,"integrity":"sha512-TEzNlo/qYp6pBoR2SK9JiV+DG1cmUcVO/+DEJqVPSHIKNlWh5L5L4FYog7b/h0bAnhKhpOAvx/c1dFp2QE9sFw==","signatures":[{"sig":"MEYCIQCrCZdzd8uW07h0oXcfzAgS7BKe2DfiYRmOW9lO+UCL+gIhAN99B0eC9+lZcrQAT5DFFX6fpnDutUsDqYYlTNnZmkaz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":635680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco4aoCRA9TVsSAnZWagAAXnQP/Ruqo2G+GHxsh2RcS01E\nVKfX7uA1ALvR/710vchvjB+MtQKpC5FhVFNGWCRcmp21EumBVKMjw9g0omHq\nDzR2ZnF2vky8cx8E2WIDzcZFiwB5kVza8Hs1n2rXpu3SiSbIo/uhDRY9ZRyE\nlZVWXzzWkdG14Qsi1NV5TwfTckFybeuEkpVYaP++RjF9vfIdxM4PeqpwBO6x\n5uzPy13xc9rIth+nlv39stMoX7prfEy0z/of7dLQU0YZ5XTJF35HnaoDCOJa\nTvIL9XzckZAheA8QfqTG5g9URK233Scwe8GwbZI/A8NBYFacf9FU4gW/V/yT\n1cEdediZMc5IZdxZbrhO76BJRIK+OfS03DvPWSy00kKroKQvutw4KTeCG+v9\n4+gTfscmTV0Rk5LCg/gRQspZe6VzgtPwmZ8W4t/w06Qli77BQDYnFQaiX3py\npHzmLPfoNFPsR9Cwxy+KzCFmkaVUctB7CxZ9brL7hxi4RLBj2Z11rLLfOpgv\nEIm9A9lonJao74nToJwpeJhFg5wKXMq1Oooo4bKCzKesKQ0q6wJq/ckG2nq6\ngYoVIRl2rfrxVJzffjDTGfKZlrcaDPYNKRcm0dAILtSjD6KrciBT9cG0JcX3\nJN2MEjwp6BZuyglNw+wYeoxX4Gn4mUlAa1uyWis2OjNkpy+bXQoAb0Dlib9h\nLbdP\r\n=Orcn\r\n-----END PGP SIGNATURE-----\r\n","size":449653,"noattachment":false,"key":"/colormap/-/colormap-2.3.1.tgz"},"main":"index.js","gitHead":"cb22a04d23b9fd47a6663d80d44ad77594bd394a","scripts":{"draw":"budo test/draw.js","test":"node test.js","build":"browserify example/example.js -o example/bundle.js"},"_npmUser":{"name":"archmoj","email":"arch.mojtaba.samimi@gmail.com"},"testling":{"files":"test/*.js","browsers":["ie/9..latest","chrome/20..latest","firefox/13..latest","safari/latest","opera/11.0..latest","iphone/6","ipad/6"]},"repository":{"url":"git+https://github.com/bpostlethwaite/colormap.git","type":"git"},"_npmVersion":"6.9.0","description":"Great looking color maps","directories":{},"_nodeVersion":"10.15.3","dependencies":{"lerp":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.7.0","color-space":"^1.14.3"},"_npmOperationalInternal":{"tmp":"tmp/colormap_2.3.1_1554220711443_0.3956619608269669","host":"s3://npm-registry-packages"},"readme":"# colormap [![Build Status](https://travis-ci.org/bpostlethwaite/colormap.png)](https://travis-ci.org/bpostlethwaite/colormap)\n\n![all colormap output](./colormaps.png)\n\n## Usage\n\n[![npm install colormap](https://nodei.co/npm/colormap.png?mini=true)](https://npmjs.org/package/colormap/)\n\n```js\nlet colormap = require('colormap')\n\nlet colors = colormap({\n    colormap: 'jet',\n    nshades: 10,\n    format: 'hex',\n    alpha: 1\n})\n```\n\n## API\n\n### list = colormap(options?)\n\nProperty | Default | Meaning\n---|---|---\n`colormap` | `'jet'` | Color map name from the image above or a custom color scale — a sequence of `{index, rgb}` objects, where index is `0..1` number and `rgb` is a length 3/4 array with values for the color stop.\n`nshades` | `72` | Number of colors in returned array, the minimum number depends on `colormap`.\n`format` | `'hex'` | `'hex'` for `#aabbcc`, `'rgbaString'` for `rgba(255, 255, 255, 1)`, `'rba'` for `[255, 255, 255, 1]`, `'float'` for `[1, 1, 1, 1]`.\n`alpha` | `1` | Alpha range, can be an array with alpha values or just 2 values for start/end colors. |\n\n\n## Credits\n\nColor maps are inspired by [matplotlib](https://github.com/d3/d3-scale#sequential-color-scales) color scales, [cmocean](https://github.com/matplotlib/cmocean) oceanographic colormaps, [cosine gradients](https://github.com/thi-ng/color/blob/master/src/gradients.org) and others. Thanks to authors of these libs for their invaluable work.\n","publish_time":1554220711670,"_cnpm_publish_time":1554220711670,"dist-tags":{"latest":"2.3.2"}}