{"_id":"to-color","_rev":"95-2edc40bcd5f0996cbb2f979778ecabdb","name":"to-color","description":"convert an arbitrary string into an identifying color","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"to-color","version":"1.0.0","description":"convert an arbitrary string into an identifying color","main":"index.js","scripts":{"test":"tap test.js"},"keywords":["color","string","identifier"],"author":"","license":"ISC","devDependencies":{"tap":"^1.3.1"},"repository":{"type":"git","url":"git@github.com:mapbox/to-color.git"},"gitHead":"0c80f1d0989cccb7628fa141b5024ffe98adf5b0","bugs":{"url":"https://github.com/mapbox/to-color/issues"},"homepage":"https://github.com/mapbox/to-color","_id":"to-color@1.0.0","_shasum":"cf60b7d14a669afa38d1454593d597cf9e872b64","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"cf60b7d14a669afa38d1454593d597cf9e872b64","tarball":"https://registry.npmjs.org/to-color/-/to-color-1.0.0.tgz","integrity":"sha512-Pn6Nw6SFTjeNlN5eMwr99+Kpnyl1l8c534MHDQ4lF9BT1gn+y8utsphzpi2/GGtkuYzsA3X0yC64x6Q6mBegVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnU5/HMrqF1z7dWpcaW8xSCu56Ob+3GNAXrCimrtJJMAIhAOhQ6G+opZZUeRFDbLru0BhTnAjrF8pRRmH7f2NkxkQL"}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/to-color instead","directories":{}},"1.0.1":{"name":"to-color","version":"1.0.1","description":"convert an arbitrary string into an identifying color","main":"index.js","scripts":{"test":"tap test.js"},"keywords":["color","string","identifier"],"author":"","license":"ISC","devDependencies":{"tap":"^1.3.1"},"repository":{"type":"git","url":"git@github.com:mapbox/to-color.git"},"gitHead":"3832b97e05183bea7b7b96358b6309b41f44ec48","bugs":{"url":"https://github.com/mapbox/to-color/issues"},"homepage":"https://github.com/mapbox/to-color","_id":"to-color@1.0.1","_shasum":"7fe92c2b66d9bce81d0f076a5a4195d6480b2b32","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"dist":{"shasum":"7fe92c2b66d9bce81d0f076a5a4195d6480b2b32","tarball":"https://registry.npmjs.org/to-color/-/to-color-1.0.1.tgz","integrity":"sha512-EwAHFHctYtxuYYV9z897B7s5p2KFlKE47Jjm08/f/swHKY1LeczpnGLp9EcwY1KuoN3HIs7cos17GMIKiDhJGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkfjPloPh0XnmH4TgxHMWaCF2FVz8VkrITCTwqSw+8wAiEA5XEnos1AXbSObJslJ5e+WAMzCjUBbk2yIUrNWtcpDiY="}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/to-color instead","directories":{}},"1.1.0":{"name":"to-color","version":"1.1.0","description":"convert an arbitrary string into an identifying color","main":"index.js","scripts":{"test":"tap test.js"},"keywords":["color","string","identifier"],"author":"","license":"ISC","devDependencies":{"tap":"^1.3.1"},"repository":{"type":"git","url":"git@github.com:mapbox/to-color.git"},"gitHead":"968de451561a60cc2e46be1a33cbec3e9491ec2d","bugs":{"url":"https://github.com/mapbox/to-color/issues"},"homepage":"https://github.com/mapbox/to-color","_id":"to-color@1.1.0","_shasum":"e46cd8ade2ba9d86e4b02e34d1f27903c9f1f010","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"edenh","email":"eden@mapbox.com"},"maintainers":[{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tmcw","email":"tom@macwright.org"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"yhahn","email":"young@mapbox.com"}],"dist":{"shasum":"e46cd8ade2ba9d86e4b02e34d1f27903c9f1f010","tarball":"https://registry.npmjs.org/to-color/-/to-color-1.1.0.tgz","integrity":"sha512-1b40cHg+Xd3XICMlrwsTHuMh+tM6zMuaXD+13DozoMWwnzTcs573TW9Z6k9aM1DlsEBL/HQSyYvO0mF6bdwSzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDop/TfTm0TeWq27y+aryfoICPWHleSqU/tdh7sE4iDWAIgQCOlozTjhEZ8+dT/G/0XnJD+RNF8oC1OLWDBdkhf66w="}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/to-color instead","directories":{}}},"readme":"## `toColor`\n\n[![build status](https://secure.travis-ci.org/mapbox/to-color.svg)](http://travis-ci.org/mapbox/to-color)\n\n### install\n\n    npm install to-color\n\n## API\n\n`toColor`\n\nGiven an arbitrary string, create a rgba color\nof a specified opacity to identify it visually.\n\n### Parameters\n\n* `str` **`string`** any arbitrary string\n* `opacity` **`number`** an opacity value from 0 to 1\n\n\n### Examples\n\n```js\ntoColor('tom') //= 'rgba(187,153,68,0.75)'\n```\n\nReturns `string` output color\n","maintainers":[{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"time":{"modified":"2022-09-20T06:50:22.114Z","created":"2015-07-30T15:37:32.045Z","1.0.0":"2015-07-30T15:37:32.045Z","1.0.1":"2015-07-30T17:19:35.410Z","1.1.0":"2015-09-22T22:23:02.254Z"},"homepage":"https://github.com/mapbox/to-color","keywords":["color","string","identifier"],"repository":{"type":"git","url":"git@github.com:mapbox/to-color.git"},"bugs":{"url":"https://github.com/mapbox/to-color/issues"},"license":"ISC","readmeFilename":"README.md"}