{"_id":"printable","_rev":"995564","name":"printable","description":"print array like table into console","dist-tags":{"latest":"0.0.3"},"maintainers":[{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"}],"time":{"modified":"2024-09-07T01:04:43.000Z","created":"2012-09-05T13:18:03.191Z","0.0.3":"2012-09-10T02:38:08.688Z","0.0.2":"2012-09-05T13:54:30.843Z","0.0.1":"2012-09-05T13:18:03.191Z"},"users":{},"author":{"name":"dead_horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git@github.com/dead-horse/printable.git"},"versions":{"0.0.3":{"name":"printable","description":"print array like table into console","version":"0.0.3","repository":{"type":"git","url":"git@github.com/dead-horse/printable.git"},"devDependencies":{"mocha":"*","should":"*","visionmedia-jscoverage":"*"},"author":{"name":"dead_horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"main":"./index.js","scripts":{"test":"make test"},"engines":{"node":">= 0.6"},"directories":{"lib":"./lib"},"keywords":["print","table"],"_id":"printable@0.0.3","dist":{"shasum":"f653cb39b214b78049ae1403e2fb05d74a6d50e0","tarball":"http://registry-npm.ywwl.com/printable/download/printable-0.0.3.tgz","integrity":"sha512-Cktn7HXEFXaH5CLCywmCXYOAdfQDIO3kwxnjm5yalaDlU4+XL+6d+nDEikK7S2wM+u7277KR7gL4RLZeDtvu7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOlx0dENHp5gKOXgAVLQ4/7DxTieyjfxbzlQtjW7ff5AIgcRwpIxRHs1hb8LYh0PxJltbOo45ymreLf42W6k+VSrE="}],"size":2476,"noattachment":false,"key":"/printable/-/printable-0.0.3.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"},"maintainers":[{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"}],"publish_time":1347244688688,"_cnpm_publish_time":1347244688688},"0.0.2":{"name":"printable","description":"print array like table into console","version":"0.0.2","repository":{"type":"git","url":"git@github.com/dead-horse/printable.git"},"devDependencies":{"mocha":"*","should":"*","visionmedia-jscoverage":"*"},"author":{"name":"dead_horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"main":"./index.js","scripts":{"test":"make test"},"engines":{"node":">= 0.6"},"directories":{"lib":"./lib"},"keywords":["print","table"],"_id":"printable@0.0.2","dist":{"shasum":"3ec47cfd4fe3c0382cace6da6294553fc952b6ad","tarball":"http://registry-npm.ywwl.com/printable/download/printable-0.0.2.tgz","integrity":"sha512-b9+hUojoSvNQBgrxje+pe+m4PFxKf7wuIwO2Q+XXcvI1TH2ccbm6Mm4ipUB1xz8vg7EQN0ocEcIfD/DhRHAaIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzZd0Nvj+Ley591Z2ekq4d71KohPgpS8/WA6gIfnebBQIgB3UP4+Nx/QD66RmsHq1OqI96utDS2BqvRcOYSJWVRQs="}],"size":2471,"noattachment":false,"key":"/printable/-/printable-0.0.2.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"},"maintainers":[{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"}],"publish_time":1346853270843,"_cnpm_publish_time":1346853270843},"0.0.1":{"name":"printable","description":"print array like table into console","version":"0.0.1","repository":{"type":"git","url":"git@github.com/dead-horse/printable.git"},"devDependencies":{"mocha":"*","should":"*","visionmedia-jscoverage":"*"},"author":{"name":"dead_horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"main":"./index.js","scripts":{"test":"make test"},"engines":{"node":">= 0.6"},"directories":{"lib":"./lib"},"keywords":["print","table"],"_id":"printable@0.0.1","dist":{"shasum":"229ff08e593d217277f0429b2d1a663863f171fd","tarball":"http://registry-npm.ywwl.com/printable/download/printable-0.0.1.tgz","integrity":"sha512-bpjvcbPTWms/7DlFeLqIrokGn3gkvrkCkyGgVBHcpB1Owz9gxOD4mKRLY/qxTMx1i3T0e0aanZdgn9A3VrIJvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6LBM/Ru7yj10jGqaIr3Ob1LtKUjoPvmiloLoGbHqBJAiAZAYLDKraom1rGBDCcTfEkC95AkVIBD5hLxZeS/wTKEQ=="}],"size":2309,"noattachment":false,"key":"/printable/-/printable-0.0.1.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"},"maintainers":[{"name":"dead_horse","email":"heyiyu.deadhorse@gmail.com"}],"publish_time":1346851083191,"_cnpm_publish_time":1346851083191}},"readme":"  print array as a table into console.   \n\n## Install\n```\nnpm install printable\n```\n\n## Usage\n```\n/**\n * print [['helloworld', '你好'], ['hello', 'world']] =>\n * helloworld  你好\n * hello       world\n * @param  {Array} lines    source array\n * @param  {String|Number}  string border or length of space border\n * @param  {Number} max     each word max length\n * @return {String}         \n */\npt.print(lines, border, max);\n```\n\n```\nvar pt = require('printable');\nvar source = [['hello', 'world'], ['你好', '世界'], ['foo', 'bar']];\npt.print(source, ' | ');\n// hello | world\n// 你好  | 世界\n// foo   | bar\n\npt.print(source, 1, 4);\n//hell worl\n//你好 世界\n//foo  bar \n```\n## License\nMIT\n","_attachments":{}}