{"_id":"drawille","_rev":"1927764","name":"drawille","description":"Drawing in terminal with unicode braille characters","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"time":{"modified":"2021-12-09T13:55:04.000Z","created":"2014-05-05T16:50:08.281Z","1.1.1":"2019-08-05T22:02:19.834Z","1.1.0":"2015-11-01T21:02:32.306Z","1.0.1":"2015-10-29T19:21:30.886Z","1.0.0":"2014-07-30T22:39:34.795Z","0.1.1":"2014-06-19T08:57:48.642Z","0.1.0":"2014-06-12T20:22:51.113Z","0.0.4":"2014-06-11T23:03:16.178Z","0.0.3":"2014-05-21T10:48:30.563Z","0.0.2":"2014-05-05T17:30:45.143Z","0.0.1":"2014-05-05T16:50:08.281Z"},"users":{"julien-f":true,"kael":true,"maxogden":true,"enobufs":true,"ahmed-dinar":true,"scottfreecode":true,"rdad":true,"metaa":true,"heartnett":true},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/madbence/node-drawille.git"},"versions":{"1.1.1":{"name":"drawille","version":"1.1.1","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"gitHead":"beffc18f8934c562b12f602fe85631c975e5892e","homepage":"https://github.com/madbence/node-drawille#readme","_id":"drawille@1.1.1","_nodeVersion":"11.12.0","_npmVersion":"6.10.2","dist":{"shasum":"0973cfe59bbb8707e42f83a8463570db6f6d47a8","size":2618,"noattachment":false,"key":"/drawille/-/drawille-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-1.1.1.tgz"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"_npmUser":{"name":"a1rpun","email":"thombakker@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drawille_1.1.1_1565042539736_0.036334912359871074"},"_hasShrinkwrap":false,"publish_time":1565042539834,"_cnpm_publish_time":1565042539834},"1.1.0":{"name":"drawille","version":"1.1.0","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"gitHead":"6cdaad39bd2583c1192f4f802312001e110a0387","homepage":"https://github.com/madbence/node-drawille#readme","_id":"drawille@1.1.0","_shasum":"5f7cec246d31b5a10044be84cedd9a486fa31ced","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"dist":{"shasum":"5f7cec246d31b5a10044be84cedd9a486fa31ced","size":372325,"noattachment":false,"key":"/drawille/-/drawille-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-1.1.0.tgz"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"directories":{},"publish_time":1446411752306,"_cnpm_publish_time":1446411752306,"_hasShrinkwrap":false},"1.0.1":{"name":"drawille","version":"1.0.1","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"gitHead":"abd62423ec3055bcbf405e4401fb301c52037eee","homepage":"https://github.com/madbence/node-drawille#readme","_id":"drawille@1.0.1","_shasum":"b551ce8d13ef209723ae91c18b0914ee80357ce3","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"dist":{"shasum":"b551ce8d13ef209723ae91c18b0914ee80357ce3","size":372196,"noattachment":false,"key":"/drawille/-/drawille-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-1.0.1.tgz"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"directories":{},"publish_time":1446146490886,"_cnpm_publish_time":1446146490886,"_hasShrinkwrap":false},"1.0.0":{"name":"drawille","version":"1.0.0","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@1.0.0","_shasum":"65b6f643af2e38bf62439dd3863af8a0b0a27333","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lennon","email":"bence@danyi.me"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"dist":{"shasum":"65b6f643af2e38bf62439dd3863af8a0b0a27333","size":372159,"noattachment":false,"key":"/drawille/-/drawille-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-1.0.0.tgz"},"directories":{},"publish_time":1406759974795,"_cnpm_publish_time":1406759974795,"_hasShrinkwrap":false},"0.1.1":{"name":"drawille","version":"0.1.1","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"gitHead":"2799ae0d0abd6785cb127b4546b0903eff1eab90","homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.1.1","_shasum":"d6ac2a41f79107938f2578762d343df8b1423d5a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"dist":{"shasum":"d6ac2a41f79107938f2578762d343df8b1423d5a","size":371946,"noattachment":false,"key":"/drawille/-/drawille-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.1.1.tgz"},"directories":{},"publish_time":1403168268642,"_cnpm_publish_time":1403168268642,"_hasShrinkwrap":false},"0.1.0":{"name":"drawille","version":"0.1.0","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.1","gl-matrix":"^2.1.0"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.1.0","_shasum":"fdc6060193c124404874fdef85f1a4fa223bc820","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"dist":{"shasum":"fdc6060193c124404874fdef85f1a4fa223bc820","size":183815,"noattachment":false,"key":"/drawille/-/drawille-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.1.0.tgz"},"directories":{},"publish_time":1402604571113,"_cnpm_publish_time":1402604571113,"_hasShrinkwrap":false},"0.0.4":{"name":"drawille","version":"0.0.4","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.1","gl-matrix":"^2.1.0"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.0.4","_shasum":"8a5b32556441fb892a2592e64c1dccc9d1a4a49b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"dist":{"shasum":"8a5b32556441fb892a2592e64c1dccc9d1a4a49b","size":3387,"noattachment":false,"key":"/drawille/-/drawille-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.0.4.tgz"},"directories":{},"publish_time":1402527796178,"_cnpm_publish_time":1402527796178,"_hasShrinkwrap":false},"0.0.3":{"name":"drawille","version":"0.0.3","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.1"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.0.3","_shasum":"182dda93748911f2583d37b423a1ad04f3337f91","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"dist":{"shasum":"182dda93748911f2583d37b423a1ad04f3337f91","size":2469,"noattachment":false,"key":"/drawille/-/drawille-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.0.3.tgz"},"directories":{},"publish_time":1400669310563,"_cnpm_publish_time":1400669310563,"_hasShrinkwrap":false},"0.0.2":{"name":"drawille","version":"0.0.2","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.0.2","dist":{"shasum":"787282340f5f250eb0c65b89828e4f878a7635df","size":2009,"noattachment":false,"key":"/drawille/-/drawille-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"directories":{},"publish_time":1399311045143,"_cnpm_publish_time":1399311045143,"_hasShrinkwrap":false},"0.0.1":{"name":"drawille","version":"0.0.1","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"homepage":"https://github.com/madbence/node-drawille","_id":"drawille@0.0.1","dist":{"shasum":"e2512791702e73f3a23e872a0e37c13d760b4709","size":1905,"noattachment":false,"key":"/drawille/-/drawille-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/drawille/download/drawille-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lennon","email":"madbence@gmail.com"},"maintainers":[{"name":"a1rpun","email":"thombakker@gmail.com"},{"name":"lennon","email":"madbence@gmail.com"}],"directories":{},"publish_time":1399308608281,"_cnpm_publish_time":1399308608281,"_hasShrinkwrap":false}},"readme":"# node-drawille [![Build Status](https://travis-ci.org/madbence/node-drawille.svg)](https://travis-ci.org/madbence/node-drawille)\n\n> drawing in terminal with [unicode braille][] characters. The idea is based on [drawille](https://github.com/asciimoo/drawille) by @asciimoo.\n\n![cube](cube.gif)\n\n## install\n\ninstall the [package](https://npmjs.com/drawille) with `npm`:\n\n```\n$ npm install --save drawille\n```\n\n## usage\n\nSee [examples](examples).\n\nthis module provides a very basic API only, for fancy things, like drawing lines, use another module, like [`bresenham`](https://github.com/madbence/node-bresenham).\n\n[`drawille-canvas`](https://github.com/madbence/node-drawille-canvas) provides HTML5 Canvas API for drawille.\n\n## api\n\n### `Canvas(w, h)`\n\nCreate a new canvas with the given dimensions.\n`w` must be multiple of 2, `h` must be multiple of 4.\n\n### `canvas.set(x, y)`\n\nDraw point on `canvas` at the given position.\n\n### `canvas.unset(x, y)`\n\nDelete point on `canvas` at the given position.\n\n### `canvas.toggle(x, y)`\n\nToggle point on `canvas` at the given position.\n\n### `canvas.clear()`\n\nClear the whole canvas (delete every point).\n\n### `canvas.frame([delimiter])`\n\nreturn the current content of `canvas`, as a `delimiter`-delimited\nstring. `delimiter` defaults to `\\n`.\n\nit uses braille characters to represent points,\nso every line has length of `w/2`, and the string contains `h/4`\nlines.\n\n## projects\n\n- [`vtop`](https://github.com/MrRio/vtop) uses it to draw CPU and memory usage charts in the terminal\n- [`datop`](https://github.com/maxogden/datop) uses it to draw [dat](https://github.com/maxogden/dat) statistics\n- [`boscillate`](https://www.npmjs.org/package/boscillate) uses it to draw [`baudio`](https://github.com/substack/baudio) soundwaves in real-time\n\n## license\n\nMIT\n\n  [unicode braille]: http://en.wikipedia.org/wiki/Braille_Patterns#Chart\n","_attachments":{},"homepage":"https://github.com/madbence/node-drawille#readme","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"license":"MIT"}