{"_id":"2dpixels-canvas","_rev":"8-98dc05090535823c9916e120522ff9ff","name":"2dpixels-canvas","description":"render pixels to a canvas element","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"2dpixels-canvas","version":"1.0.1","description":"render 2dpixels to a canvas element","main":"index.js","scripts":{"build":"browserify example.js -o bundle.js -g uglifyify","deploy":"npm run build && npm run dist && npm run push","dist":"mkdir -p dist && bash -c 'cp *.{js,html,css} dist'","push":"gh-pages -d dist","start":"budo example.js -d --serve bundle.js --live","test":"browserify test.js | smokestack | tap-spec"},"browserify":{"transform":[]},"repository":{"type":"git","url":"git+https://github.com/ahdinosaur/2dpixels-canvas.git"},"author":{"name":"ahdinosaur"},"license":"ISC","bugs":{"url":"https://github.com/ahdinosaur/2dpixels-canvas/issues"},"homepage":"https://github.com/ahdinosaur/2dpixels-canvas","dependencies":{"generate-function":"^2.0.0","pixel-to-css-color":"^1.0.0"},"devDependencies":{"browserify":"^10.0.0","budo":"^4.0.0","gh-pages":"^0.3.0","raf":"^3.1.0","rainbow-pixels":"^3.0.0","smokestack":"^3.3.0","tap-spec":"^4.0.2","tape":"^4.0.0","through2":"^2.0.0","uglifyify":"^3.0.1","watchify":"^3.1.0"},"gitHead":"975faed2181f00a8713dde7085300c98f90d5d59","_id":"2dpixels-canvas@1.0.1","_shasum":"48e5321ca8e6d968626de9411d8c2bb052bcd6c7","_from":".","_npmVersion":"3.2.0","_nodeVersion":"2.3.1","_npmUser":{"name":"ahdinosaur","email":"dinosaur@riseup.net"},"maintainers":[{"name":"ahdinosaur","email":"dinosaur@riseup.net"}],"dist":{"shasum":"48e5321ca8e6d968626de9411d8c2bb052bcd6c7","tarball":"https://registry.npmjs.org/2dpixels-canvas/-/2dpixels-canvas-1.0.1.tgz","integrity":"sha512-6SGWUGkYvsibkTLVEGaIhhfZVDRNDrvJP1rk4nYOa4uhWHVMY+AF0/NlWz83sjgwMbLdyd64PjFdEFomypsanQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq9LcvR03n39ZvxTAyL49Gb1QdwBaDoZQ9uHkZVMU72QIhANoI0ckncmcN9I9h6sm3K7QGsYc4Hl6KjWrYrEhFyFrh"}]},"deprecated":"`2dpixels-canvas` has been renamed to `pixels-canvas`"},"1.0.2":{"name":"2dpixels-canvas","version":"1.0.2","description":"render pixels to a canvas element","main":"index.js","scripts":{"build":"browserify example.js -o bundle.js -g uglifyify","deploy":"npm run build && npm run dist && npm run push","dist":"mkdir -p dist && bash -c 'cp *.{js,html,css} dist'","push":"gh-pages -d dist","start":"budo example.js -d --serve bundle.js --live","test":"browserify test | smokestack | tap-spec"},"browserify":{"transform":[]},"repository":{"type":"git","url":"git+https://github.com/livejs/pixels-canvas.git"},"author":{"name":"ahdinosaur"},"license":"Apache-2.0","bugs":{"url":"https://github.com/livejs/pixels-canvas/issues"},"homepage":"https://github.com/livejs/pixels-canvas","dependencies":{"generate-function":"^2.0.0","pixel-to-css-color":"^1.0.0"},"devDependencies":{"browserify":"^10.0.0","budo":"^4.0.0","gh-pages":"^0.3.0","pull-raf":"^1.0.1","pull-stream":"^3.2.3","rainbow-pixels":"^4.0.0","smokestack":"^3.3.0","tap-spec":"^4.0.2","tape":"^4.0.0","uglifyify":"^3.0.1","watchify":"^3.1.0"},"gitHead":"253728a3e7de8e0fe6a6051896725a241964d664","_id":"2dpixels-canvas@1.0.2","_shasum":"602f2d7e7860358475f5483f7af17fa8d5c758a6","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.1","_npmUser":{"name":"ahdinosaur","email":"michael.williams@enspiral.com"},"dist":{"shasum":"602f2d7e7860358475f5483f7af17fa8d5c758a6","tarball":"https://registry.npmjs.org/2dpixels-canvas/-/2dpixels-canvas-1.0.2.tgz","integrity":"sha512-rNBIvKaXZ2CVVfK40CmIdi5Fo3FtRCGWA/CljF5rUndPIgaveFupXl72zZpTqleN8fjkcR5xVpwwEeHM1IoG9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtOEn7ArCIwmJEYpvgivElwfM2iCwFpRzfHcIJIib/cAiBa9ReUd+RyPV/hAb9CdsUs889BV+LfmhQyqX2rVo8C7Q=="}]},"maintainers":[{"name":"ahdinosaur","email":"michael@enspiral.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2dpixels-canvas-1.0.2.tgz_1459170967305_0.7119510301854461"},"deprecated":"`2dpixels-canvas` has been renamed to `pixels-canvas`"}},"readme":"# pixels-canvas\n\ncanvas renderer for [pixels](https://github.com/livejs/pixels)\n\n```shell\nnpm install --save pixels-canvas\n```\n\n## usage\n\n### `toCanvas = require('pixels-canvas')`\n\n### `pixelsToCanvas = toCanvas(canvas)`\n\n`canvas`: required canvas dom element\n\n### `pixelsToCanvas(pixels)`\n\n`pixels`: required [2d pixels](https://github.com/livejs/ndpixels)\n\n## example\n\n```js\nvar toCanvas = require('pixels-canvas')\n\nvar pixelsToCanvas = toCanvas(canvas)\n\ndocument.body.appendChild(canvas)\n\npixelsToCanvas(pixels)\n```\n\nfor a full example, see [./example](http://livejs.github.io/pixels-canvas)\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@enspiral.com"}],"time":{"modified":"2022-06-12T14:06:55.546Z","created":"2015-07-30T14:29:40.400Z","1.0.1":"2015-07-30T14:29:40.400Z","1.0.2":"2016-03-28T13:16:07.718Z"},"homepage":"https://github.com/livejs/pixels-canvas","repository":{"type":"git","url":"git+https://github.com/livejs/pixels-canvas.git"},"author":{"name":"ahdinosaur"},"bugs":{"url":"https://github.com/livejs/pixels-canvas/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}