{"_id":"ncc","_rev":"23-a407344a569c604706879f8a0ac3c732","name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","dist-tags":{"latest":"0.3.6"},"versions":{"0.1.0":{"author":{"name":"Stefan Keim","email":"42o8o1oo@googlemail.com","url":"indus"},"name":"ncc","description":"node-chrome-canvas, a simple to use and performant HTML5 canvas for Node.js","version":"0.1.0","keywords":["canvas","chrome","image"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"dependencies":{"ws":"0.4.x"},"bugs":{"url":"https://github.com/indus/ncc/issues"},"homepage":"https://github.com/indus/ncc","_id":"ncc@0.1.0","dist":{"shasum":"c73f4fdefad4181040075c82f24fddd224b08302","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.1.0.tgz","integrity":"sha512-NHUcjaqqQ8sTeORUr2lqBYOGkcnDk5qXJI+cxWfhLEAFqHHfsQqwYiBuDbNHWzWC9WUIp4kNkeg59B4F1frpyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9H0FYT3lq+XAupD6yn6d7xvO9PiVTZYz+AiSGtzjHagIhAOVAq5s5w5Ii2nnZ3hn3vLotPqalWv8J04h45KX/YOYJ"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"indus","email":"42o8o1oo@googlemail.com"},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}]},"0.1.1":{"author":{"name":"Stefan Keim","email":"42o8o1oo@googlemail.com","url":"indus"},"name":"ncc","description":"node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js","version":"0.1.1","keywords":["canvas","chrome","image"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"dependencies":{"ws":"0.4.x"},"license":"MIT","bugs":{"url":"https://github.com/indus/ncc/issues"},"homepage":"https://github.com/indus/ncc","_id":"ncc@0.1.1","dist":{"shasum":"2a7650be5182b30035176dbc8d7d0d3fd9d6bfe0","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.1.1.tgz","integrity":"sha512-Qk9AG6HAv1Nh/0/BTU1BLBzm2ZQu9u2Yn4nDRi+u+fsuYv7cHC+iPH9bpIu8ycjSpdrRJXOXA3aL5rUiAscD3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/bcvhdlPQvTjI88cjM6CTrElOgRG3EpK6V5Hg0TkpVAiEA1tAoFZeXcZJQdVdob7NKtIgnxIjbp90aqypWKwDu5fo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"indus","email":"42o8o1oo@googlemail.com"},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}]},"0.1.2":{"author":{"name":"Stefan Keim","email":"42o8o1oo@googlemail.com","url":"indus"},"name":"ncc","description":"node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js","version":"0.1.2","keywords":["canvas","chrome","image"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"dependencies":{"ws":"0.4.x"},"license":"MIT","bugs":{"url":"https://github.com/indus/ncc/issues"},"homepage":"https://github.com/indus/ncc","_id":"ncc@0.1.2","dist":{"shasum":"8d94f8ebf9a2dbb9145f27d7c1e80bd07a8251f1","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.1.2.tgz","integrity":"sha512-dj/BwGWza+UiKGU0gwjjS1raoZx7l6P3ryowceutND8Le8u1oEHsTxk/T1qMPbSsX46Y/WBwQryH2IBxwK39MA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfTDE/NQTLnqJ6WXpWrzk7jXrcAbfITieCHcmng1NimAiBQyBny6zm4XZQ6eCxMsYl5Q2DCzLVZIV5IwJVbWEPFgA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"indus","email":"42o8o1oo@googlemail.com"},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}]},"0.1.3":{"author":{"name":"Stefan Keim","email":"42o8o1oo@googlemail.com","url":"indus"},"name":"ncc","description":"node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js","version":"0.1.3","keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"dependencies":{"ws":"0.4.x"},"license":"MIT","bugs":{"url":"https://github.com/indus/ncc/issues"},"homepage":"https://github.com/indus/ncc","_id":"ncc@0.1.3","dist":{"shasum":"bb2feb0bd88b99fe8941fe76ca5cee440c3d3a81","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.1.3.tgz","integrity":"sha512-+b8qFoKIwP0ILrGEr8tQ4iVPDwq33nwLTm24E07AeguTRWdk2JEzogY1z8L9riPH1ew67Mh0naRL/Wa2dt4WCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfPY3GqP0njUQ1tC41bbPzUNmTc+vPyuaIGjh5q5r1+AiEA2LFZVDi9BHI+5jTyVBnhvd1+kTmyxQF/gfdIpEHzPHQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"indus","email":"42o8o1oo@googlemail.com"},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}]},"0.2.0":{"author":{"name":"Stefan Keim","email":"42o8o1oo@googlemail.com","url":"indus"},"name":"ncc","description":"node-chrome-canvas || a simple to use and performant HTML5 canvas for Node.js","version":"0.2.0","keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"dependencies":{"ws":"0.4.x"},"license":"MIT","bugs":{"url":"https://github.com/indus/ncc/issues"},"homepage":"https://github.com/indus/ncc","_id":"ncc@0.2.0","dist":{"shasum":"de1e7f56cc4e67bc53c848568499585bf8212367","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.2.0.tgz","integrity":"sha512-bnIlh0x55NyQjnGerj0ofKWULUG2yv1+kMIqDOokRSfVFPzL4rJpwABId0yyGTLXCNrsjWg2NyVQ2mRTbP1lVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm/B/b1Y+qsYE0N2KGXWadWjuCeK+qTka3Zz6bzGsDkgIgWstCkPyFcYl6BhwGX9QtseiN4FTdu8SvXMPYVIxtpv8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"indus","email":"42o8o1oo@googlemail.com"},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}]},"0.3.0":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"99837162a3fd28c6bc1424a14a8065a1437b61b2","_id":"ncc@0.3.0","_shasum":"fe2835390f37597bbfb4d9a1e4d1a47d8a63e106","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"fe2835390f37597bbfb4d9a1e4d1a47d8a63e106","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.0.tgz","integrity":"sha512-BLd2pfK/enoqzarPwbckdAonjc0WFkAIaxy5Puu2eVlDsmQdgvl9sGkpilqpMB7IWE9mpABZADCKBLtFG7Nnbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9gxkv6WZ7ygwU/ySwQSAvt0Bm7HgveJ7HDCpiXEQgOAiBvw1ymL7HnORJvxQEBqcOr+6EgMc8iC+viV4XH7HdGbQ=="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncc-0.3.0.tgz_1494834629831_0.8383293393999338"}},"0.3.1":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"9d8cc0821c6084654c9761b3245a5795b3df5d12","_id":"ncc@0.3.1","_shasum":"b97306e9b0b2d7a494e63c4badb3190aec74df07","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"b97306e9b0b2d7a494e63c4badb3190aec74df07","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.1.tgz","integrity":"sha512-a7EvhEDFNoIRk/LA95pLz8TBDvRebdDXfVgsK82EPJ1d5PEZ1kC4GPWM7g9kzf5ANNpzkXzL8X9GR71IosX5zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFh4mhHNjrdlgBZS8WFirnwCbuBjOBsUcTEBhWUJRPRTAiA9e2epap6GQQPVjLMWK6swWQRd1t1Lik8BNx4HTRGA9w=="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncc-0.3.1.tgz_1494834773900_0.19436929561197758"}},"0.3.2":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.2","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"512b5db92cfd2fbdca3a54458f3354dafb2dbc22","_id":"ncc@0.3.2","_shasum":"88856f4927fe08bcccd06119c7bb79635839d011","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"88856f4927fe08bcccd06119c7bb79635839d011","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.2.tgz","integrity":"sha512-01frzhlMGmSoSb54PbnMGrhlHWrR74Y5dhZij928JUIl2Sq9Vx8e1CCxv4sK3+bhxEYAOx7QboWT/H9aCdUsdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHi2OKHoBnxxXDKPQmCqNgtdgQVXYfI+YZaUjt+sm4KGAiBYeJJkYn8augwVouz2MMVV7Y1tp3Dha3D6LIOPXt7t0w=="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncc-0.3.2.tgz_1494834900539_0.8720072712749243"}},"0.3.3":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.3","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"dbeac11be757852ae66b3ca5f2f01046ca40acc1","_id":"ncc@0.3.3","_shasum":"824f0a3d7f1ac93c239ec36e4a8dd9e609177e03","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"824f0a3d7f1ac93c239ec36e4a8dd9e609177e03","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.3.tgz","integrity":"sha512-68nVOf9FNgybXa4q3JNmW+b+yYqU4wUnnWFZNE4m6WzHLGQprvicv8jlykshMXIeEa2QvJpIdDCb42nAZD11WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoB4gUxqAN+M5/x/LpWpnQV3srxMHaOAQyzx2ylx25EAiBtKILZpmP/JHmPm5MRWotD2ITfCrC3RqHdJUhn1Oz1ow=="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncc-0.3.3.tgz_1494841757642_0.7995901242829859"}},"0.3.4":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"e47c5a082f038b88bef3f9b4fb3b70cbc88b0273","_id":"ncc@0.3.4","_shasum":"aa6e4fcc2840af50f9b1790378c5a7d7fff581bd","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"aa6e4fcc2840af50f9b1790378c5a7d7fff581bd","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.4.tgz","integrity":"sha512-m5cUfI1rsXbDYixy+Ozhm1pBEVAuYhSvl6OrcNJW7oPZTP7mfGaaMacSCloRAilmxxVXD2axdutn2OKCZMQZoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApv40aMpNyp/jxVQt5elefGf5UT8uiwIfPp+dJ/vZjCAiA5fz9xitgt1Irl0Rqz0kbnxs4dB3a+PzkeVikqbOKckA=="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ncc-0.3.4.tgz_1495002309582_0.23493862058967352"}},"0.3.5":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.5","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"8d22a6bec1e14ccd5c6530e6928112e074235ca9","_id":"ncc@0.3.5","_shasum":"76a5ecfcc8cf09752600d9399377c033a7d81d14","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"76a5ecfcc8cf09752600d9399377c033a7d81d14","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.5.tgz","integrity":"sha512-Evf8S3wNlgx4TZSf/T/YyCIBhUnuVgYW1YNNulA2+2sSxVWYTSV82K2ZFsNx4iX3/pGJl8FhenPD6cdeeMv3dA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMBKPbyZsrH9Q4OH7tHNlWhkpwTInxLtv9Xetgn2GlZwIgQBWOEfCwGKfMphzJbyAQRsYNURN0Ffl7KHLXFe9L3Oc="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncc-0.3.5.tgz_1495002634632_0.29624836263246834"}},"0.3.6":{"author":{"name":"Stefan Keim","url":"indus"},"name":"ncc","description":"node-chrome-canvas | a simple to use and performant HTML5 canvas for Node.js","version":"0.3.6","scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"run-p dev:*","dev:tsc_lib":"tsc -w --target ES6 --outfile lib/ncc.js lib/ncc.ts","dev:run":"nodemon index.js"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.6.1","tracer":"^0.8.7","ws":"^2.3.1"},"devDependencies":{"@types/node":"^7.0.18"},"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"homepage":"https://github.com/indus/ncc2#readme","license":"MIT","gitHead":"6fc9b86421ae4b3132b0b7df406c756bf4e6f890","_id":"ncc@0.3.6","_shasum":"11b47af973d7f2374af46bc0d8533366acc908eb","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.2","_npmUser":{"name":"indus","email":"stefan.keim@posteo.de"},"dist":{"shasum":"11b47af973d7f2374af46bc0d8533366acc908eb","tarball":"https://registry.npmjs.org/ncc/-/ncc-0.3.6.tgz","integrity":"sha512-OXudTB2Ebt/FnOuDoPQbaa17+tdVqSOWA+gLfPxccWwsNED1uA2zEhpoB1hwdFC9yYbio/mdV5cvOtQI3Zrx1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsSb6bKLDNkldhiFVATe3zmWT3QQgjkVOiTkKz6Aa0BAIgeYy70gML5ENGfBVsf5KQScGXFKf/ccDnefbm9AwHg54="}]},"maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ncc-0.3.6.tgz_1495019948740_0.8744937507435679"}}},"readme":"<!-- ![logo](https://raw.githubusercontent.com/indus/ncc/master/footage/logo.png) -->\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://raw.githubusercontent.com/indus/ncc/master/footage/logo.png\" alt=\"logo\"/>\r\n</p>\r\n\r\n### About\r\n**ncc** (or node-chrome-canvas) utilizes Googles [Chrome-Browser](https://www.google.com/chrome/browser/) and its [remote debugging protocol](https://developers.google.com/chrome-developer-tools/docs/debugger-protocol) to give [Node.js](http://nodejs.org/) access to a full-blown HTML5 Canvas-Element and its 2d-Context.  \r\nIn contrast to [canvas](https://www.npmjs.org/package/canvas) (that may satisfy your needs as well) which uses [Cairo](http://cairographics.org/) to sham a canvas, **ncc** works with a real [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement) in a Browser-Context.\r\n\r\nBehind the curtains of the familiar Canvas-API, **ncc** uses a single WebSocket-Connection and some command-bundeling-logic to gain its performance.\r\n\r\n### Quickstart\r\n```\r\nnpm install ncc\r\n```\r\n```javascript\r\nvar ncc = require('ncc')\r\n\r\nvar canvas = ncc();\r\n\r\ncanvas.width = canvas.height = 256;\r\n\r\nvar ctx = canvas.getContext('2d');\r\n\r\nctx.fillStyle = \"slateGray\";\r\nctx.fillRect(28, 28, 200, 200)();  // function call is intentional!\r\n```\r\n\r\n### Examples\r\n\r\n- **[draw ncc logo](https://github.com/indus/ncc/blob/master/examples/1_draw_ncc_logo.js)**\r\n>> **learn** how to setup ncc and draw shapes to canvas\r\n- **[early access](https://github.com/indus/ncc/blob/master/examples/2_early_access.js)**\r\n>> **learn** how to start using ncc even before it is fully set up\r\n- **[get return values](https://github.com/indus/ncc/blob/master/examples/3_get_return_values.js)**\r\n>> **learn** how to get return values of non-void functions\r\n- **[gardients/patterns](https://github.com/indus/ncc/blob/master/examples/4_gradients_and_patterns.js)**\r\n>> **learn** how to use gradients and patterns\r\n- **[images](https://github.com/indus/ncc/blob/master/examples/5_images.js)**\r\n>> **learn** how to apply images from urls or the filesystem\r\n- **[shadow canvas](https://github.com/indus/ncc/blob/master/examples/6_shadow_canvas.js)**\r\n>> **learn** how work with more than one canvas\r\n\r\n### API\r\n\r\n**ncc** follows the native [Web API Interfaces](https://developer.mozilla.org/en-US/docs/Web/API)...\r\n[HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement),\r\n[HTMLImageElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement),\r\n[CanvasRenderingContext2D](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D),\r\n[CanvasGradient](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient),\r\n[CanvasPattern](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern)\r\n... as close as possible.\r\n\r\nDifferences are a result of the asynchronous nature of **ncc**. All object creations, method calls and property manipulations don't get processed directly, but get serialized and stored until a return value is necessary and a request is therefore unavoidable.  \r\nEvery 'Object' provided by **ncc** (and also every return value of a method) is actually a function to trigger a synchronization. You can pass a error-first-callback ( 'function(error, result){...}' ) to such a function to receive the return value of the last action (see [examples](https://github.com/indus/ncc#examples)).\r\n<p align=\"center\">\r\n  <img src=\"https://raw.githubusercontent.com/indus/ncc/master/footage/flow.png\" alt=\"flowchart\"/>\r\n</p>\r\nThe **Canvas-** RenderingContext2D, -Gradient and -Pattern Proxys are fully implemented.  \r\nThe **HTML-** CanvasElement and -ImageElement Proxys only necessary properties and functions. For example they both implement a 'width' and 'height' attribute but don´t have further DOM functionality.  \r\n\r\nMethods and properties beyond the native API are marked with a leading underscore and they are hidden from console by default (e.g. 'image._toFile(fileName, &lt;callback&gt;)' to write an image to the filesystem).\r\n\r\n#### proxy - creators\r\n\r\n* **ncc(** &lt;options&gt; **,** &lt;callback&gt; **)** >>> **[canvas]**  \r\n**ncc(** &lt;callback&gt; **)** >>> **[canvas]** \r\n\r\noptions (with defaults)\r\n```javascript\r\n{ logLevel: 'info', //['log','info','warn','error']\r\n  port: 9222,\r\n  retry: 9,\r\n  retryDelay: 500,\r\n  headless: false\r\n}\r\n```\r\n\r\n* **ncc.createCanvas()** >>> **[canvas]**    *if one is not enough*\r\n\r\n* **ncc.createImage(** &lt;src&gt; **,** &lt;onloadFn&gt; **,** &lt;onerrorFn&gt; **)** >>> **[image]**\r\n\r\n* **nccCanvas.getContext(** *[nativeAPI](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement#Methods)* **)** >>> **[context2d]**\r\n\r\n* **context2d.createLinearGradient(** *[nativeAPI](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#createLinearGradient())* **)** >>> **[linearGradient]**  \r\n**context2d.createRadialGradient(** *[nativeAPI](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#createRadialGradient())* **)** >>> **[radialGradient]**  \r\n**context2d.createPattern(** *[nativeAPI](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D#createPattern())* **)** >>> **[pattern]**\r\n\r\n","maintainers":[{"name":"indus","email":"42o8o1oo@googlemail.com"}],"time":{"modified":"2022-06-20T22:31:58.176Z","created":"2014-05-10T23:04:13.366Z","0.1.0":"2014-05-10T23:04:13.366Z","0.1.1":"2014-05-11T03:39:51.640Z","0.1.2":"2014-05-11T03:42:35.158Z","0.1.3":"2014-05-11T17:43:57.245Z","0.2.0":"2014-05-13T16:23:28.560Z","0.3.0":"2017-05-15T07:50:31.428Z","0.3.1":"2017-05-15T07:52:55.976Z","0.3.2":"2017-05-15T07:55:02.488Z","0.3.3":"2017-05-15T09:49:18.842Z","0.3.4":"2017-05-17T06:25:11.812Z","0.3.5":"2017-05-17T06:30:36.573Z","0.3.6":"2017-05-17T11:19:10.908Z"},"homepage":"https://github.com/indus/ncc2#readme","keywords":["canvas","chrome","draw","image","images","graphic","graphics","gif","png","webp","jpg","jpeg"],"repository":{"type":"git","url":"git://github.com/indus/ncc.git"},"author":{"name":"Stefan Keim","url":"indus"},"bugs":{"url":"https://github.com/indus/ncc2/issues"},"readmeFilename":"README.md","license":"MIT","users":{"indus":true}}