{"name":"@sphinxxxx/color-conversion","version":"2.0.0-alpha.2","description":"Convert colors between RGBA/HSLA/Hex","homepage":"https://github.com/Sphinxxxx/color-conversion","author":{"name":"Joudee","url":"https://github.com/Joudee"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/Sphinxxxx/color-conversion.git"},"main":"dist/color-conversion.js","module":"src/color.js","files":["src/","dist/"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"babel-core":"^6.26.0","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","gulp":"^4.0.0","gulp-file":"^0.4.0","gulp-header":"^2.0.1","gulp-rename":"^1.2.2","gulp-strip-comments":"^2.5.2","gulp-uglify":"^3.0.0","rollup":"^0.56.2","rollup-plugin-babel":"^3.0.3"},"gitHead":"29afa0ae3b0a1f9196a455e1423478eccd26d3d1","bugs":{"url":"https://github.com/Sphinxxxx/color-conversion/issues"},"_id":"@sphinxxxx/color-conversion@2.0.0-alpha.2","_shasum":"99b75b6da606fc0420d3a524e066465ba5270660","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"sphinxxxx","email":"coding@enthuses.me"},"dist":{"shasum":"99b75b6da606fc0420d3a524e066465ba5270660","tarball":"http://registry-npm.ywwl.com/@sphinxxxx/color-conversion/download/@sphinxxxx/color-conversion-2.0.0-alpha.2.tgz","fileCount":5,"unpackedSize":18637,"integrity":"sha512-o3cG/GxcIQOHQgm24R5QMbuGwAhyYLR6sn0Bn6KSEKSLIZ8R/FhJlOs258+1UayErIef+orTOPraL520NLo0bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcyljdW7KlaU4eQu7pOeJ+fXtEq2EeLO8AtbnTz+8exwIgTVl3ih6tMp8mZvxnvGJ2hMVUOmUZRHZhyEMXQRR/cQk="}],"size":5977,"noattachment":false,"key":"/@sphinxxxx/color-conversion/-/@sphinxxxx/color-conversion-2.0.0-alpha.2.tgz"},"maintainers":[{"name":"sphinxxxx","email":"coding@enthuses.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-conversion_2.0.0-alpha.2_1519415906373_0.5313220700754904"},"_hasShrinkwrap":false,"readme":"# color-conversion\n\nJavaScript library for color conversion and manipulation with support for CSS color syntax.\n\nDemo: https://rawgit.com/Sphinxxxx/color-conversion/master/demo/index.html\n\n## Usage\n\n```js\n<script src=\"https://unpkg.com/@sphinxxxx/color-conversion@2\"></script>\n\n<script>\n    //rgba/hsla/hex string, CSS color name, or rgba array:\n    var color = new Color('rgb(200, 250, 0)');\n    \n    color.hsla;  // [0.2, 1, 0.49, 1]\n    color.rgba;  // [200, 250, 0, 1]\n    \n    color.hslaString;  // \"hsla(72,100%,49.02%,1)\"\n    color.rgbaString;  // \"rgba(200,250,0,1)\"\n    color.hex;         // \"#c8fa00ff\"\n</script>\n```\n","publish_time":1519415906428,"_cnpm_publish_time":1519415906428,"dist-tags":{"latest":"2.2.2"}}