{"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"],"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","_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,"dist-tags":{"latest":"0.0.3"}}