{"dist":{"shasum":"dc4ba40ddacd28bb8d8ccc6ccfa9c6de0353787c","tarball":"https://registry.npmjs.org/treeify/-/treeify-0.2.0.tgz","integrity":"sha512-Os4y5cePLRzjWPArbhPtEvIbD6bZzyiu7do1rFTiCFsNT4XKWlsfaK7pf4NxwppML/ZTNnx4Njv4+6Z8WG6ckg==","signatures":[{"sig":"MEUCIGkf1n+UN5MLrefba5NwBmsub7X5GVnfIMJp3RqsiwzKAiEAofWFUaUOEt0B9xZ8hBXluN4mgCmOTtm5Pj4M5XO8FfQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./treeify","name":"treeify","author":{"name":"Luke Plaster","email":"notatestuser@gmail.com"},"readme":"node-treeify\n============\n\n_treeify_ converts a JS object into a nice, visible depth-indented tree for console printing. The structure \ngenerated is similar to what you get by running the ```tree``` command on Unixy platforms.\n\n```\n{\n    oranges: {                                                  \n        'mandarin': {                                          ├─ oranges\n            clementine: null,                                  │  └─ mandarin\n            tangerine: 'so cheap and juicy!'        -=>        │     ├─ clementine\n        }                                                      │     └─ tangerine: so cheap and juicy!\n    },                                                         └─ apples\n    apples: {                                                     ├─ gala\n        'gala': null,                                             └─ pink lady\n        'pink lady': null\n    }\n}\n```\n\nIt also works well with larger nested hierarchies such as file system directory trees.\nIn fact, the ```fs_tree``` example does a pretty good job of imitating ```tree```. Try it out!\n\nSee the other included examples or the test suite for usage scenarios.\n\nUsage\n-----\n\nFirst you'll want to run this command in your project's root folder:\n```\n$ npm install treeify\n```\n\nThen proceed to use it in your project:\n```js\nvar treeify = require('treeify');\nconsole.log(\n   treeify.asTree({\n      apples: 'gala',      //  ├─ apples: gala\n      oranges: 'mandarin'  //  └─ oranges: mandarin\n   }, true)\n);\n```\n\nRunning the tests\n-----------------\n\nThere's a pretty extensive suite of Vows tests included.\n\n```\n$ npm test\n```\n","engines":{"node":">=0.8"},"scripts":{"test":"./node_modules/vows/bin/vows --spec --isolate"},"keywords":["object","tree","print","console","pretty"],"licenses":[{"url":"http://lp.mit-license.org/","type":"MIT"}],"repository":{"url":"https://github.com/notatestuser/node-treeify.git","type":"git"},"description":"converts a JS object into a nice, visible tree structure for the console","directories":{},"maintainers":[{"name":"notatestuser","email":"notatestuser@gmail.com"}],"devDependencies":{"vows":"git://github.com/Filirom1/vows.git#expect"},"_id":"treeify@0.2.0","version":"0.2.0"}