{"_id":"pretty-tree","_rev":"15-c38fc97249c1d52fb31bcdfc5a9c01db","name":"pretty-tree","description":"Make colorful trees out of JSON objects using archy","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"pretty-tree","version":"0.1.0","description":"Make colorful trees out of JSON objects using archy","repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"dependencies":{"archy":"0.0.2","colors":"~0.6.2"},"keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"homepage":"https://github.com/mafintosh/pretty-tree","_id":"pretty-tree@0.1.0","dist":{"shasum":"bcc97ecc6baeea88087959f3b1913dc22c65a80c","tarball":"https://registry.npmjs.org/pretty-tree/-/pretty-tree-0.1.0.tgz","integrity":"sha512-uK0qu2S6bbal/l6BvNN74GCdt7H34e6KR4WoWXUmQpVGQh52vyAlH1hWQNvkFsFf4WUHyx62cWBKuEFF5/ZbPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNFyOmTQQOxk3mX2miAAcL82qrYo/ptcGInxExMVgx7AiBngEcvJlTlTzdl08tCDYex5vACBjmwFFrsJetkEkjRRw=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.1":{"name":"pretty-tree","version":"0.1.1","description":"Make colorful trees out of JSON objects using archy","repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"dependencies":{"archy":"0.0.2","chalk":"~0.4.0"},"keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"homepage":"https://github.com/mafintosh/pretty-tree","_id":"pretty-tree@0.1.1","dist":{"shasum":"6f0380898bb10fb5d61511f8320b55e3d225b419","tarball":"https://registry.npmjs.org/pretty-tree/-/pretty-tree-0.1.1.tgz","integrity":"sha512-lry6UjOMOEBhWTj02Yb9+5DibyyEeCQtA+2SpPSgcMk5WN5Aozr1jlvONVujl4nlkRYFSdmXEHJSeTXfT81VHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFwYHLOi22swKUiKVGUb+JZlboE44qhk4UZa/b2SxERAiB+iZP9NLZzL8M7C091APfHyIjkqO5I4JCv/oEAB0696A=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.1.2":{"name":"pretty-tree","version":"0.1.2","description":"Make colorful trees out of JSON objects using archy","repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"dependencies":{"archy":"0.0.2","chalk":"~0.4.0"},"keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"homepage":"https://github.com/mafintosh/pretty-tree","_id":"pretty-tree@0.1.2","dist":{"shasum":"b485b74e026025260f35528d12b58410f61433d9","tarball":"https://registry.npmjs.org/pretty-tree/-/pretty-tree-0.1.2.tgz","integrity":"sha512-VMqlWLSlZCnRXFOYLPLnF6GlReo30eqV3ue/3vEBTQ7oB9BQ7GhSA6/lhwqXxrCCKXiXRyqlTcqAGfp3EE/IEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtofL4iw5XWkBO/DbGXxd3C3MENmKSsdtkA+jQrisAJAiAS8QXOfVZuGbChfeXzqHVtu8ze9wPcZzP7HAWmP6kNtg=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.2.0":{"name":"pretty-tree","version":"0.2.0","description":"Make colorful trees out of JSON objects using archy","repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"dependencies":{"archy":"0.0.2","chalk":"~0.4.0"},"keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"homepage":"https://github.com/mafintosh/pretty-tree","_id":"pretty-tree@0.2.0","_shasum":"4c7a6e21a6a84e0f84d7c84596799fa5869aaff2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"4c7a6e21a6a84e0f84d7c84596799fa5869aaff2","tarball":"https://registry.npmjs.org/pretty-tree/-/pretty-tree-0.2.0.tgz","integrity":"sha512-RN555mu3YwX6wi9ypaq7T/SQJqbUOV9Ei1kMGqvYEPJ9nuxps7QTehwDhqrEO4dFTMwyoJn3mFL84kht8xhkaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASIky0cVKiYkiA9NvUWAuaTN7HOLxBv4968fnuXXv6SAiEA6Vg2aMTV7PWBWnsGSpWtEP4xly87neixvJikF04GxO4="}]}},"1.0.0":{"name":"pretty-tree","version":"1.0.0","description":"Make colorful trees out of JSON objects using archy","repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"dependencies":{"archy":"0.0.2","chalk":"~1.0.0"},"keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"gitHead":"ba67a6ca5756e86ad0a64e56d3e44b4632ac3394","bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"homepage":"https://github.com/mafintosh/pretty-tree","_id":"pretty-tree@1.0.0","scripts":{},"_shasum":"586efe4616f26782bbdf31d109bff68caed19028","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.3.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"586efe4616f26782bbdf31d109bff68caed19028","tarball":"https://registry.npmjs.org/pretty-tree/-/pretty-tree-1.0.0.tgz","integrity":"sha512-BfBHciLsD6KtzG60Lfz6+FRWAjLvBwembXOzJg8lUqYe5eA7ujWB+9wZgrlN4lskhcgUEuIj8OFkIHwxUyh+tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6mRfRXHWLC8K2R8eQBjeOMUFCSd+rgIr+jcZRP03sXAiBDtcfuE6XurPYJXXEUJnbFXgwCWiy4jMqB4i6f2hUY4w=="}]}}},"readme":"# pretty-tree\n\nMake colorful trees out of JSON objects using [archy](https://github.com/substack/node-archy)\n\n\tnpm install pretty-tree\n\n## Usage\n\n``` js\nvar tree = require('pretty-tree');\n\nvar str = tree({\n\tlabel: '(root)', // the label of this node\n\tnodes: [{\n\t\tlabel: '(child)',\n\t\tleaf: {\n\t\t\thello: 'world',\n\t\t\thej: 'verden'\n\t\t}\n\t}]\n});\n\nconsole.log(str);\n```\n\nThe above example results in the following output:\n\n![example](https://raw.github.com/mafintosh/pretty-tree/master/example.png)\n\nThe node passed to tree can contain the following options\n\n``` js\ntree({\n\tlabel: '(child)', // an optional lable of this node\n\tleaf: {           // set this if you want to print an object\n\t\tkey: value,\n\t\t...\n\t},\n\tnodes: [          // or put in some child nodes\n\t\tchild_nodes_with_same_structure\n\t]\n})\n```\n\nIf you want to disable coloring (even when the terminal is a tty) use `tree.plain(options)`\n\n## License\n\nMIT","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-24T15:01:31.151Z","created":"2014-01-04T19:37:19.652Z","0.1.0":"2014-01-04T19:37:22.175Z","0.1.1":"2014-01-04T19:40:13.146Z","0.1.2":"2014-01-06T14:31:27.444Z","0.2.0":"2014-07-06T00:36:37.371Z","1.0.0":"2015-02-24T12:24:41.068Z"},"repository":{"type":"git","url":"git://github.com/mafintosh/pretty-tree.git"},"homepage":"https://github.com/mafintosh/pretty-tree","keywords":["archy","colors","color","tree","terminal","cli","pretty","print","prettyprint"],"bugs":{"url":"https://github.com/mafintosh/pretty-tree/issues"},"readmeFilename":"README.md","users":{"chocolateboy":true,"ta2edchimp":true}}