{"_id":"t-color","_rev":"4-4007f61ff547212a4795feca24dfcf77","name":"t-color","description":"a tcomb type for a color in any space","dist-tags":{"latest":"2.0.1"},"versions":{"1.1.1":{"name":"t-color","version":"1.1.1","description":"a tcomb type for a color in any space","main":"index.js","scripts":{"test":"tape test.js","demo":"serve-ify ./demo --js.debug"},"repository":{"type":"git","url":"git+https://github.com/ahdinosaur/t-color.git"},"keywords":["color","type","color-space"],"author":{"name":"Mikey","email":"michael.williams@enspiral.com","url":"http://dinosaur.is"},"license":"ISC","bugs":{"url":"https://github.com/ahdinosaur/t-color/issues"},"homepage":"https://github.com/ahdinosaur/t-color#readme","dependencies":{"color-space":"^1.14.3","lodash":"^4.6.1","tcomb":"^3.0.0"},"devDependencies":{"node-dev":"^3.1.0","r-dom":"^2.1.0","react":"^0.14.7","react-dom":"^0.14.7","serve-ify":"^1.0.3","tape":"^4.5.1","tcomb-form":"^0.9.0"},"gitHead":"7f98e11e3118f0d264ed64368bb5ddaaf44ff1f5","_id":"t-color@1.1.1","_shasum":"25b5c1593e05e16c92f85f99e2880e88b3698cbf","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"dist":{"shasum":"25b5c1593e05e16c92f85f99e2880e88b3698cbf","tarball":"https://registry.npmjs.org/t-color/-/t-color-1.1.1.tgz","integrity":"sha512-9mCSuEwGofPmAMt8L+jPELNmOSqYOxxJ3IYPNEm3VmRjNsHuYVCeJzT4QckoH3mvxOJrk2rn8wY6wJMf6CppdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAt6FeaF8okTeI6ZIppowlhzc//2yyKUPKWzrMO7XHqgIgTPr2ufECorpmmd1q0qmUVmYpxLnjiSjqiT4vt9b2Qis="}]},"maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/t-color-1.1.1.tgz_1458626962363_0.6515878834761679"}},"2.0.1":{"name":"t-color","version":"2.0.1","description":"a tcomb type for a color in any space","main":"index.js","scripts":{"test":"tape test.js","start":"budo example:bundle.js -d example --live -- -d","bundle":"browserify example -g envify -g uglifyify","build":"npm run --silent bundle -- -o example/bundle.js","disc":"npm run --silent bundle -- --full-paths | discify --open","push":"gh-pages -d example","deploy":"npm-run-all -s build push"},"browserify":{"transform":[["babelify",{"presets":["es2015"]}]]},"repository":{"type":"git","url":"git+https://github.com/ahdinosaur/t-color.git"},"keywords":["color","type","color-space"],"author":{"name":"Mikey","email":"michael.williams@enspiral.com","url":"http://dinosaur.is"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ahdinosaur/t-color/issues"},"homepage":"https://github.com/ahdinosaur/t-color#readme","devDependencies":{"browserify":"^13.0.0","budo":"^8.1.0","disc":"^1.3.2","envify":"^3.4.0","gh-pages":"^0.11.0","npm-run-all":"^1.6.0","tape":"^4.5.1","tcomb-view":"^4.1.0","uglifyify":"^3.0.1","virtual-dom":"^2.1.1","virtual-raf":"^3.0.0","watchify":"^3.7.0"},"dependencies":{"babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","color-space":"^1.14.3","lodash":"^4.6.1","t-range":"^2.0.0","tcomb":"^3.0.0"},"gitHead":"6b839968157c687a10833c30a683bd3bcf5edb41","_id":"t-color@2.0.1","_shasum":"5d6dd2216009846a443f130f17b8945e4e38a7fd","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"dist":{"shasum":"5d6dd2216009846a443f130f17b8945e4e38a7fd","tarball":"https://registry.npmjs.org/t-color/-/t-color-2.0.1.tgz","integrity":"sha512-Yo2kpZyLKd3IVEUmz4fk1mNQE2wFM0QydvlN6w+esuyNXCT/olGvfZ5s++8tTUlFYqXqYadxbl0jl518e7IVCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2Rco9cL9/597RYMQ+c822io/u9C4d4TbeGdo+RC0PzAiEAzJh3nQ/OAfjPZ7+hywQ/2FpMmYZOyiryo3VYRhPzg+o="}]},"maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/t-color-2.0.1.tgz_1459156453340_0.298691502539441"}}},"readme":"# t-color\n\na tcomb type for [a color in any space](https://github.com/scijs/color-space)\n\n```shell\nnpm install --save t-color\n```\n\nsee [demo](https://ahdinosaur.github.io/t-color)\n\n## usage\n\n### `Color = require('t-color')`\n\n### `color = Color(attrs)`\n\n`attrs.type` corresponds to the name of the color space.\n\n> for example: [`rgb`](https://github.com/scijs/color-space/blob/master/rgb.js#L8)\n\nsubsequent arguments correspond to the channels of the color space.\n\n> for example: [`red`, `green`, `blue`](https://github.com/scijs/color-space/blob/master/rgb.js#L11)\n\n### `Color.view(h, props)`\n\nsee [`tcomb-view`](https://github.com/ahdinosaur/tcomb-view)\n\n## License\n\nThe Apache License\n\nCopyright &copy; 2016 Michael Williams (@ahdinosaur)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","maintainers":[{"name":"ahdinosaur","email":"michael.williams@enspiral.com"}],"time":{"modified":"2022-06-27T03:23:09.593Z","created":"2016-03-22T06:09:22.838Z","1.1.1":"2016-03-22T06:09:22.838Z","2.0.1":"2016-03-28T09:14:13.752Z"},"homepage":"https://github.com/ahdinosaur/t-color#readme","keywords":["color","type","color-space"],"repository":{"type":"git","url":"git+https://github.com/ahdinosaur/t-color.git"},"author":{"name":"Mikey","email":"michael.williams@enspiral.com","url":"http://dinosaur.is"},"bugs":{"url":"https://github.com/ahdinosaur/t-color/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}