{"name":"@sphinxxxx/color-conversion","version":"2.0.0-alpha.3","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.3","_shasum":"b8df1579902be601f46b20788f11cf1a27a48221","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"sphinxxxx","email":"coding@enthuses.me"},"dist":{"shasum":"b8df1579902be601f46b20788f11cf1a27a48221","tarball":"http://registry-npm.ywwl.com/@sphinxxxx/color-conversion/download/@sphinxxxx/color-conversion-2.0.0-alpha.3.tgz","fileCount":5,"unpackedSize":18567,"integrity":"sha512-VUCuZlrrRabKj36YEOo6s5BVFlgS7GkqJNKrWM+h943ihcKLVD5s5VVYmltUDgHtXC/fXQCXhhjEEqzlW6RpuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrAOYYmAiMDevhI3CMTUWbd6SUFcgUSTlWAc7Na+w27QIhANtrI33rNmzE7s0Bk6kC3NIsu66e5bDLT1V70p7roG77"}],"size":5920,"noattachment":false,"key":"/@sphinxxxx/color-conversion/-/@sphinxxxx/color-conversion-2.0.0-alpha.3.tgz"},"maintainers":[{"name":"sphinxxxx","email":"coding@enthuses.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-conversion_2.0.0-alpha.3_1519416807834_0.7702954469064247"},"_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":1519416807874,"_cnpm_publish_time":1519416807874,"dist-tags":{"latest":"2.2.2"}}