{"_id":"drawback","_rev":"105-649077ccec9d0aa23ec45ef6e9e69b00","name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.5":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.0.5","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.0.5","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.5","dist":{"shasum":"abb699cbd4946f48c8169053bfd2979df6c12da0","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.0.5.tgz","integrity":"sha512-gfpYdOHrCp3cBcjIGW4I0ZbMYBTUMc0VuacH+9hyP1Abc+x1A+Qp9MzhBp1sL4XONw4yFWIDi+IgdJo1LNWCTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCIqtrgUPyGGzbqnqZR3CNY15SbWvb11hWGDPnpQhThQIhAOv6dyGijupd82zUoFzXo4BDlm9FLxNRuCeoYalDGsI3"}]}},"0.0.6":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.0.6","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.0.6","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"f22039214e59bd1cd530128090de1fa52ec40c1a","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.0.6.tgz","integrity":"sha512-PE9UmOoWLR4bGLnIXPDAP2eKiwYimwgq6ECnLKWY4zrKRRSBAfbNaaD+8A0dLkI51nEyfMP2O2JWZpFx6FOg5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKMsi0MgJjF8/3aeP13Xc+MqwHO5/qopqjjhsT1tKlQAiAKS1WXCBzQpJMX+5JvHq8mSYTaI6/yWl2UCdEp3dO8vg=="}]}},"0.0.7":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.0.7","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.0.7","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"0529ab079973aa9f91cf312a2698f8be51fd5d1f","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.0.7.tgz","integrity":"sha512-av/CllUmUp1W1tuZaln4gcSKNzyhqUaqvPGtbajpPGtCMrQh8nD3FrVjuxCRms+3Ve36EZTR5y79ZqrWzvljgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDK+fXvjW1IA+/jAUfEtphpQXrX3VG1XKIUxuuycGbXuAiEAzv7wh5pw1rvY5QDqHDaeUQ/d5TpHsOLCCTqbsjVfxBw="}]}},"0.0.8":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.0.8","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.0.8","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"4040a071d95153c1f7d84a16fafac74e36b8c9de","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.0.8.tgz","integrity":"sha512-FxGA+yGX1ZjhcUF6vr7OwL4lMSloNCnHfIpn8aKdBqHFguSa+xsTjN69TiC6XL0pcHTcP+BhkVFdfvoLGD7ctQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2Hopw9bPVUF7Tbp94iWjGXYkEbEp/59B2Aj8mAxwKyAIhAOtCFnj2160X4ZRG8hhPqill/qzvZkrM/0y4Um64F3t2"}]}},"0.0.9":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.0.9","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.0.9","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"d2074f163e65217e941bff01a51d15c5b5d669f1","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.0.9.tgz","integrity":"sha512-JN+HU/sELEkd62hNFD/BRdxAlpwpyK9fNaaI9nlsutfdLWXQeIdz1RzBdoTh34ss3zpyJepOyPsvF30OzhT3JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSZk4iFEpPgw9o5D7mR1ImDKgu+aECHZIwQFfqnn9HIAiBsek/J0rgnORODP5F9HxXe+GKYlZZJZJt0jtmNn8S4Wg=="}]}},"0.1.0":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.0","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.1.0","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"9d42247b4284ebeabeae42fb180c7463a87a4303","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.0.tgz","integrity":"sha512-uPATDfMLJHiIPzf5VzXHeUbI6l5DuDe16qCutgbKP4UZOZwUkZNoHxqFLXqsSNhS7pr4lkDG11C4w9MKDvNVAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChzXFZgGYQamgeuirQni/uwRj22MQwwTvot6EyWm7T8gIgDpQxdCh3e4Re4Aw6uY1Dj/xYaFuUNys/3IQDNuNNpjQ="}]}},"0.1.1":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.1","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.6","dist":{"shasum":"54f529be3ae1015287a9df9377ba5ac9116664a9","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.1.tgz","integrity":"sha512-8iu4V4pkmhJ3azC26vPG4OtnJn00w7i2RWwnvtums83ZYzcsz8PQ8vbadFM8S4tzmM0i7LM//NBPhTuJ6T4EaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVNncXzMdf5iGuBxUmtyys+rsYY6pLyngILVT3ZafoBAiEA2PZ8tMe8n1x/E/57ySUfgO5Cv3eOTaMLRLq0Y/4fay8="}]}},"0.1.2":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.2","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_id":"drawback@0.1.2","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.4.3","dist":{"shasum":"b6907284444ba34754f7df526283f99e2b1f973a","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.2.tgz","integrity":"sha512-vKBhX8J76fTG7GHlzSP5jhCQTJTtDh/4/OZJ231+/hD9X2VJyzlDaZdWpxnKFgtYZo8w18mJFnpyW/2IKYMPVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRZZQqnkYEtnfapT9VmQ5JTcixM4pO5C5djPAjfc6E6gIhAPyUpZBUg4KkQ2bRq9s9gPX/lMTnaH9eULhNDSeWK7Vv"}]}},"0.1.4":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.4","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{},"_id":"drawback@0.1.4","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.3","_defaultsLoaded":true,"dist":{"shasum":"43af1731b85927522057946394d545086da634c6","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.4.tgz","integrity":"sha512-OwHwIxYVD9q1dDoN/wQlSCrldaeSDq1moPvOijDfREtsMZlk6hgh7M8bJZ8WvYIax+m7+YoRWjdl4S5GsLj6UQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtq3yHaM9ItQ9itxEgXrZ43wTiYejKp1DXv3wA0sjzoAiEA5f8ad8veti6Dg8qnMXvTl0TjfDCQqwqSfqJN6Gwg3O8="}]},"scripts":{}},"0.1.5":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.5","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"damian","email":"damian@learnboost.com"},"_id":"drawback@0.1.5","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.3","_defaultsLoaded":true,"dist":{"shasum":"09487fcb1b4f4f54d8b6b70329a3be50776b8885","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.5.tgz","integrity":"sha512-KwkI156pfVwZ7leHSzXW/MUCTybBHyA+QRbXPstbBli2RgvE2VJKSpUtVDDmU3EJTR2lBlELq0z2StQdwuUCog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIByv8X4x0C+HqmLNCsOsGyLhw2WVjsf49E5knyE05BsNAiBNMZ4m5WPHHzb86ps8nl6Qeyv0Bkg8j5AtTMvVwzBeiQ=="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"}]},"0.1.3":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.3","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"damian","email":"damian@learnboost.com"},"_id":"drawback@0.1.3","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"caf239a659c17405fbb9deeeac752880a9bc5751","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.3.tgz","integrity":"sha512-NqB60D4mS+EOtkFekKj68Tg6MZfzcZgL0s5RhVk1ObZRE64EKIIP5u4uEWNgmNCg9CWGncOdjyAnCicaDkHwzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGuERdKwcgvcOiNVfpDRowElqkaItM6YyI8pbJ1jzvMrAiAVzzfIzU7SNnqmToiQbnQR0kMyciCW7IFXzx0OerwxkA=="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}]},"0.1.6":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.6","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.4.0"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"damian","email":"damian@learnboost.com"},"_id":"drawback@0.1.6","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"2b35cfb08b6ba4bfa7623cac092c3100cfa74e4b","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.6.tgz","integrity":"sha512-4uhgE3BWE4mntr6a4Jpr99jA+87Av6r1XDXxh6NftzJbLhMVzOLWkueK4AAuOCO4gnC0k+E0eh5NNXGlVFc2zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBm6gpp6sPO+d+5Uog/Ir+/70LsifE0RMo8H5f5Bp8CAiAnQX0eiez7f+4pX1RMk4ZCqhaHcQEnTuTJiRjwzlBfIg=="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}]},"0.1.7":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.7","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.10.0"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"_id":"drawback@0.1.7","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"1ba17ce7a784664717e8e079c5f191629f63d9b3","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.7.tgz","integrity":"sha512-Edvrw8ClvfhJLbhwc1AzaqiFehR24U+lK846z+kVv6Qo/U/+7SDHPtjS8PrYW+pxTw6JCWGCAo2iwyDjCEOynw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMhT99noCA8Mgd4W8ZSPWKoTF1yNmRvF2DHYjlKeGDWAiA4Dt3x0UbZd1yTl2iaSMTYSQ+41u8QboSwey1YdOlnDg=="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}]},"0.1.8":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.8","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.10.2"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"_id":"drawback@0.1.8","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"725c9c9d58af4377edc28b3442630d5a6933f179","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.8.tgz","integrity":"sha512-Sz1ZuhBPUzSOw8WEEI7/dVLqnEp+kGdAxwWmxhU+RxyqvZC7J+TDObCaRy0uCLTqtxxsr7CteZnrdJtm4vAqFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUlTMp+n5GtQ7y/PnRnirpHQzTQpJR4VdGrpZuqwWQGAiEA2LZ3abLLnM9FUjM70rZNA6ooX+Bn55/4w3bKU5EDVC8="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}]},"0.1.9":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.1.9","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"0.10.2"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"_id":"drawback@0.1.9","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"669b075950707c49ca1d1d089518ef70df831a8c","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.1.9.tgz","integrity":"sha512-+Wv5ml+ZuQZD4du7TibXzVfYPkZQgRVfjw6bfcFjmw2h1WuwSI591fsg0Iwgv0FXCBj9ONTlRM3ZABqNJRPcqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIESp4vzaAMENgICKPiX+M4c8zUr/tmqOR8iASS6Okrh7AiEA5XkDKoFKFTOb1LTjPloqr4VeeNyKNbX19LinlT1p01o="}]},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"damian","email":"damian@learnboost.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}]},"0.3.0":{"name":"drawback","description":"The drawback framework provides a seamless way to render 2D drawings on the client side using HTML5 technologies with a server-side backend.","version":"0.3.0","author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"dependencies":{"canvas":"1.1.3"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"keywords":["canvas","node-canvas","drawback"],"main":"./lib/drawback/index.js","directories":{"lib":"./lib/drawback"},"engines":{"node":">= 0.2.5"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/LearnBoost/drawback/issues"},"homepage":"https://github.com/LearnBoost/drawback","_id":"drawback@0.3.0","dist":{"shasum":"a087433a77329af8bd96f6bc741add68be6ab9b1","tarball":"https://registry.npmjs.org/drawback/-/drawback-0.3.0.tgz","integrity":"sha512-TzdKiLJZEVV4T2AI9M+XNoRzZ27O8VyGeJkLUebF2X567wTq6867B+rqeAkkI9jd5BRxuInr2eZ2KP54TMP8uA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkBRculWqpgiihv3GmKY6ES1EFW07NlEEJXsqT2gMlbAiAhP2UB2PFeP1Sx6y8RqVYuRy2XDu0w8f9YTpKifyuTFw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"maintainers":[{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"retrofox","email":"damian@learnboost.com"}]}},"maintainers":[{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"aaron.heckmann+github@gmail.com","name":"aaron"},{"email":"rdsuarez@gmail.com","name":"retrofox"}],"author":{"name":"Damian Suarez","email":"damian@learnboost.com"},"time":{"modified":"2022-06-15T23:56:32.225Z","created":"2011-01-06T22:56:41.460Z","0.0.2":"2011-01-06T22:56:41.460Z","0.0.3":"2011-01-06T22:56:41.460Z","0.0.4":"2011-01-06T22:56:41.460Z","0.0.5":"2011-01-06T22:56:41.460Z","0.0.6":"2011-02-16T19:28:01.610Z","0.0.7":"2011-02-21T16:24:04.395Z","0.0.8":"2011-02-21T23:53:28.369Z","0.0.9":"2011-02-22T18:34:36.742Z","0.1.0":"2011-02-22T19:35:17.526Z","0.2.0":"2011-02-22T19:36:10.099Z","0.1.1":"2011-02-23T13:55:37.295Z","0.1.2":"2011-03-09T22:02:36.387Z","0.1.3":"2011-11-11T18:18:47.328Z","0.1.4":"2011-05-24T23:25:15.886Z","0.1.5":"2011-10-05T01:38:28.889Z","0.1.6":"2011-11-11T18:30:46.885Z","0.1.7":"2012-01-19T00:30:54.178Z","0.1.8":"2012-02-14T23:26:26.845Z","0.1.9":"2012-02-20T16:54:34.153Z","0.3.0":"2014-04-18T16:31:20.459Z"},"repository":{"type":"git","url":"git://github.com/LearnBoost/drawback.git"},"users":{},"readme":"Drawback\n========\n\nThe Drawback framework provides a seamless way to render 2D drawings on \nthe client side using HTML5 technologies with a server-side backend.\n\n## Defining the drawings\n\nEvery drawing (eg: a chart) logic goes into a separate file that provides both\nCommonJS and browser compliance as follows:\n\n    (function(){\n      var module = module || {};\n\n      module.exports = function(data, element){\n        // element is the element that the <canvas> will be injected to.\n        // for example, if leveraging jQuery flot, that means it will be called as:\n\n        $.plot(element, { ..., data: data });\n      };\n\n      module.exports.flot = true;\n\n      if (typeof window != 'undefined' && 'Drawback' in window)\n        Drawback.register('my_example', module.exports);\n\n    })();\n\nIn this case, the file would be stored in `public/js/draw/my_example.js`.\nNotice that the filename has to match the `register` first parameter.\n\nNotice that we're also adding the `flot` option to module.exports. This is needed\nfor the server side rendering to load the appropriate module for rendering.\n\n## Drawing (client side)\n\nIn order to effectively draw a chart, first it needs to be included in the \\<head\\>,\nso that it's compiled along with the rest of the public JavaScript:\n\n    script(src: '/js/draw/my_example.js')\n\nThen, in the specific section JavaScript, once the DOM is loaded we can draw it\nlike this:\n\n    jQuery(function($){\n      Drawback.draw('#some_element', 'my_example', '/data/url', options);\n    });\n\nNotice that we're passing the selector as first parameter, the draw id as the second\n and options as the fourth.\n\n### Drawback#draw\n\nThe `Drawback.draw` method is in charge of deciding the rendering method (server\nor browser) and behaving accordingly.\n\n#### Browser rendering\n  \nFor browser rendering, the draw method simply looks up the registered functions \n(through `register` calls), and calls it passing the data retrieves from the\ndata url.\n\nWhile the data is being retrieved, a class `loading` is added to the target element.\n\n#### Server fallback\n\nFor server rendering, an url is constructed as follows:\n\n    /draw/my_example?url={data url}\n\nAn `Image` element is created and the `src` attribute is set. A class `loading` is\nadded to the target element, and it's removed when the `onload` event fires for the\nimage, and the image is injected.\n\nServer fallback is used whenever feature testing for `<canvas>` presence fails.\n\n#### Options\n\nThe last parameter of the `draw` function call is an object of options.\n\n- sync\n\n  If set to true, when browser rendering is performed, the data is fetched through\n  a synchronous ajax request. Defaults to false\n\n- download\n\n  Whether to include a download button along with the <canvas>. If set to true,\n  it injects an element like this _before_ the target element.\n\n      <a href=\"/draw/my_example?url={data url}&download=1\">Download</a>\n\n- forceServer\n\n  If set to true it ignores browser rendering and always does server side rendering.\n\n- urlBuilder\n\n  A function that constructs the url for server fallback. It gets the drawing name\n  and data url as parameters. There's also a third argument called `forceDownload`,\n  which is set to true for the download link construction.\n  \n  It defaults to a function that returns the format specified above.\n\n## Server side component\n\n### Public API\n\nThe node.js module is a simple function call that receives the `module.exports` (ie:\nthe `require()` module) and returns a node-canvas rendered buffer.\n\n    var drawback = require('drawback');\n\n    drawback.draw(module, data, function(err, buffer){\n      // \n    });\n\n### Plugins support\n\nPlugins are included like\n\n    drawback.use(require('path/to/plugin')())\n\nAnd plugin source follows the connect middleware style:\n\n    module.export = function pluginName(){\n      return function(){\n\n      };\n    };\n\nThe `flot` plugin is built-in, and it's exported, so it can be accessed like this:\n\n    drawback.use(drawback.plugins.flot);\n\nThe purpose of the flot plugin is to include a dummy jQuery, include the flot source\nmodified/overriden for node-canvas compatibility.\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","homepage":"https://github.com/LearnBoost/drawback","keywords":["canvas","node-canvas","drawback"],"contributors":[{"name":"Guillermo Rauch","email":"guillermo@learnboost.com"},{"name":"Nathan Rajlich","email":"nate@learnboost.com"}],"bugs":{"url":"https://github.com/LearnBoost/drawback/issues"},"readmeFilename":"Readme.md"}