{"_id":"2cs-canvas2image","_rev":"3-0abf499ddae4a2655aca3ce9216be481","name":"2cs-canvas2image","description":"Canvas2image","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"2cs-canvas2image","version":"0.0.1","description":"Canvas2image","main":"canvas2image.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/buixuanhai/canvas2image.git"},"keywords":["canvas2image"],"author":{"name":"Hai Bui"},"license":"ISC","bugs":{"url":"https://github.com/buixuanhai/canvas2image/issues"},"homepage":"https://github.com/buixuanhai/canvas2image#readme","gitHead":"8a5394679fe8078e823a2347edf581d3cb26fab2","_id":"2cs-canvas2image@0.0.1","_shasum":"8dfd0c5dd7266711f21f84a55b79a3f27f602f26","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.3","_npmUser":{"name":"haibui","email":"buixuanhai.it@gmail.com"},"dist":{"shasum":"8dfd0c5dd7266711f21f84a55b79a3f27f602f26","tarball":"https://registry.npmjs.org/2cs-canvas2image/-/2cs-canvas2image-0.0.1.tgz","integrity":"sha512-GQLZHFhENV3hpeRvwm5MzFT6dEsvXdxxXJy/q0Ao6gcdeAeoyTwwidl9EVl0MHfF7i4fOmAmq5VPrggfg0VgPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYLjqfNl4R8rgA9xO2WIq4dEBa8LqVPSEErTjbo8NeDAIhAPB7hHGbXFQjipy4oODmTSRAYFGMOUyLa7OSIVdylEcj"}]},"maintainers":[{"name":"haibui","email":"buixuanhai.it@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2cs-canvas2image-0.0.1.tgz_1494579029587_0.4328106332104653"}},"0.0.2":{"name":"2cs-canvas2image","version":"0.0.2","description":"Canvas2image","main":"canvas2image.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/buixuanhai/canvas2image.git"},"keywords":["canvas2image"],"author":{"name":"Hai Bui"},"license":"ISC","bugs":{"url":"https://github.com/buixuanhai/canvas2image/issues"},"homepage":"https://github.com/buixuanhai/canvas2image#readme","gitHead":"14f328509cc0f59e2f1799da0aea9fa0bc6faf08","_id":"2cs-canvas2image@0.0.2","_shasum":"0ff1531494152a16f146f2ad419ea23aabceebad","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.3","_npmUser":{"name":"haibui","email":"buixuanhai.it@gmail.com"},"dist":{"shasum":"0ff1531494152a16f146f2ad419ea23aabceebad","tarball":"https://registry.npmjs.org/2cs-canvas2image/-/2cs-canvas2image-0.0.2.tgz","integrity":"sha512-dVMF35uA3W+ROywCnIK3gJHn4fzLruwjPRuu1uO4Fz6tJrVCuWl4knCSBGuK3fQpMBP+cFP4gDpxJvW5V7gy7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQgZjsMJIEBmRhBExs6TUJ8hzV5B+gh0Ts7HSKy/dldAIhAL/ipI2rPpYFS87dnsM6B2rAeBNRWDCNaYheHHnwJ7j6"}]},"maintainers":[{"name":"haibui","email":"buixuanhai.it@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2cs-canvas2image-0.0.2.tgz_1494582109451_0.42624097084626555"}}},"readme":"# Canvas2image #\r\na tool of saving or converting canvas to images\r\n\r\n## Demo ##\r\n[canvas2image](http://hongru.github.com/proj/canvas2image/index.html)\r\n\r\n## Code ##\r\nyou can just use it like this\r\n\r\n    Canvas2Image.saveAsImage(canvasObj, width, height, type)\r\n    Canvas2Image.saveAsPNG(canvasObj, width, height)\r\n    Canvas2Image.saveAsJPEG(canvasObj, width, height)\r\n    Canvas2Image.saveAsGIF(canvasObj, width, height)\r\n    Canvas2Image.saveAsBMP(canvasObj, width, height)\r\n    \r\n    Canvas2Image.convertToImage(canvasObj, width, height, type)\r\n    Canvas2Image.convertToPNG(canvasObj, width, height)\r\n    Canvas2Image.convertToJPEG(canvasObj, width, height)\r\n    Canvas2Image.convertToGIF(canvasObj, width, height)\r\n    Canvas2Image.convertToBMP(canvasObj, width, height)\r\n    \r\n## License\r\nMIT\r\n","maintainers":[{"name":"haibui","email":"buixuanhai.it@gmail.com"}],"time":{"modified":"2022-06-12T14:06:50.216Z","created":"2017-05-12T08:50:32.034Z","0.0.1":"2017-05-12T08:50:32.034Z","0.0.2":"2017-05-12T09:41:51.758Z"},"homepage":"https://github.com/buixuanhai/canvas2image#readme","keywords":["canvas2image"],"repository":{"type":"git","url":"git+https://github.com/buixuanhai/canvas2image.git"},"author":{"name":"Hai Bui"},"bugs":{"url":"https://github.com/buixuanhai/canvas2image/issues"},"license":"ISC","readmeFilename":"readme.md"}