{"_id":"png-word","_rev":"15-96c01f11aa428f390d666bf16497eeac","name":"png-word","description":"png word","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"png-word","version":"0.0.1","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"_id":"png-word@0.0.1","dist":{"shasum":"96416af013dbb0337a0f69276716927f3924006b","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.2":{"name":"png-word","version":"0.0.2","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"_id":"png-word@0.0.2","dist":{"shasum":"21569f28ae1eb1160ae11ae2470de958b8f3741b","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.3":{"name":"png-word","version":"0.0.3","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"_id":"png-word@0.0.3","dist":{"shasum":"43ef32c283dd1f60ec5fa8bddf15d47baa649bed","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.4":{"name":"png-word","version":"0.0.4","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"_id":"png-word@0.0.4","dist":{"shasum":"94c05bb960ac466f0b838f94e2e9c21dc23cd59c","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.5":{"name":"png-word","version":"0.0.5","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"_id":"png-word@0.0.5","dist":{"shasum":"33ad6bb7d3aa71209e7c2399dae9522b5c2b088b","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.5.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.6":{"name":"png-word","version":"0.0.6","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"homepage":"https://github.com/brighthas/png-word","_id":"png-word@0.0.6","dist":{"shasum":"a1bbb7dcb608b6bef8ed3a4b30095d39b461d8a4","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.6.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}},"0.0.7":{"name":"png-word","version":"0.0.7","description":"png word","main":"index.js","dependencies":{"node-png":"0.4.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"author":{"name":"brighthas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/brighthas/png-word/issues"},"keywords":["png","word"],"homepage":"https://github.com/brighthas/png-word","_id":"png-word@0.0.7","dist":{"shasum":"99b016ee3111cc7806c52e367961da32bc0bea76","tarball":"http://registry.npmjs.org/png-word/-/png-word-0.0.7.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"brighthas","email":"brighthas@gmail.com"},"maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"directories":{}}},"readme":"png-word\n========\n\nwhen give a text word , then create a png.\n\ninstall\n=======\n\n npm install png-word\n\nexample\n=======\n```js\nvar PW = require(\"png-word\"),fs = require(\"fs\");\n\nvar pngword = new PW(); // use defalt config\n\npngword.on(\"parsed\",function(){\n\tthis.createReadStream(\"1113221\").pipe(fs.createWriteStream(\"pngword.png\"))\n});\n```\nAPI\n===\n\n##### #new\n```js\nvar PW = require(\"png-word\");\nvar pngword = new PW(); \n```\nor\n```js\nvar pngword = PW();\n```\n\n##### #createReadStream(txt) \n\n+ `txt` is a string , return a ReadStream object .\n\n##### #createPNG(txt,callback) \n\n+ `txt` is a string.\n+ `callback` (png) , png is buffer.\n\nExpand\n======\n\n`var pw = new PW(conf);` \n\n`conf` custom self configure, it is a json. \n\n###### example\n```\n{\n pngPath: // png image path.\n\n\tcharWidth: // is Number, a char width.\n\tcharHeight:\n\n\trepo:{ // a char position \n\t\t\"X\":0,\n\t\t\"C\":1\n\t}\n\n}\n```\nFull Text\n=========\nThere are three initial templates ready with full text support:\n`.GREEN`, `.RED`, and `.GRAY`.\n\n```js\nvar PW = require(\"png-word\");\nvar pngword = new PW(PW.GREEN); \n```\n\n\nDemo\n====\n\nhttps://github.com/brighthas/validat-num-demo\n\nLICENSE\n========\n\nMIT , brighthas \n","maintainers":[{"name":"brighthas","email":"brighthas@gmail.com"}],"time":{"modified":"2014-03-18T14:16:46.282Z","created":"2013-10-21T13:17:44.701Z","0.0.1":"2013-10-21T13:17:51.769Z","0.0.2":"2013-10-21T13:33:16.734Z","0.0.3":"2013-10-22T04:36:40.278Z","0.0.4":"2013-10-23T05:08:10.917Z","0.0.5":"2013-10-23T05:15:12.742Z","0.0.6":"2014-03-18T13:46:06.256Z","0.0.7":"2014-03-18T14:16:46.282Z"},"author":{"name":"brighthas@gmail.com"},"repository":{"type":"git","url":"https://github.com/brighthas/png-word"},"homepage":"https://github.com/brighthas/png-word","keywords":["png","word"],"bugs":{"url":"https://github.com/brighthas/png-word/issues"},"license":"MIT","readmeFilename":"README.md","_attachments":{},"_etag":"\"BFB1SVX2D2V6OUEVYPU3XJLKS\""}