| 1 |
{ |
| 2 |
"_id": "archy", |
| 3 |
"_rev": "35-a2237730dde1adeaedf062de16b5f3a9", |
| 4 |
"name": "archy", |
| 5 |
"description": "render nested hierarchies `npm ls` style with unicode pipes", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.0.0": { |
| 11 |
"name": "archy", |
| 12 |
"version": "0.0.0", |
| 13 |
"description": "render nested hierarchies `npm ls` style with unicode pipes", |
| 14 |
"main": "index.js", |
| 15 |
"directories": { |
| 16 |
"lib": ".", |
| 17 |
"example": "example", |
| 18 |
"test": "test" |
| 19 |
}, |
| 20 |
"devDependencies": { |
| 21 |
"tap": "~0.2.3" |
| 22 |
}, |
| 23 |
"scripts": { |
| 24 |
"test": "tap test" |
| 25 |
}, |
| 26 |
"repository": { |
| 27 |
"type": "git", |
| 28 |
"url": "git://github.com/substack/node-archy.git" |
| 29 |
}, |
| 30 |
"keywords": [ |
| 31 |
"hierarchy", |
| 32 |
"npm ls", |
| 33 |
"unicode", |
| 34 |
"pretty", |
| 35 |
"print" |
| 36 |
], |
| 37 |
"author": { |
| 38 |
"name": "James Halliday", |
| 39 |
"email": "[email protected]", |
| 40 |
"url": "http://substack.net" |
| 41 |
}, |
| 42 |
"license": "MIT/X11", |
| 43 |
"engine": { |
| 44 |
"node": ">=0.4" |
| 45 |
}, |
| 46 |
"_npmUser": { |
| 47 |
"name": "substack", |
| 48 |
"email": "[email protected]" |
| 49 |
}, |
| 50 |
"_id": "[email protected]", |
| 51 |
"dependencies": {}, |
| 52 |
"engines": { |
| 53 |
"node": "*" |
| 54 |
}, |
| 55 |
"_engineSupported": true, |
| 56 |
"_npmVersion": "1.0.106", |
| 57 |
"_nodeVersion": "v0.4.12", |
| 58 |
"_defaultsLoaded": true, |
| 59 |
"dist": { |
| 60 |
"shasum": "fcc82f2916a8307969b368e8617646b41697c37b", |
| 61 |
"tarball": "https://registry.npmjs.org/archy/-/archy-0.0.0.tgz" |
| 62 |
}, |
| 63 |
"maintainers": [ |
| 64 |
{ |
| 65 |
"name": "substack", |
| 66 |
"email": "[email protected]" |
| 67 |
} |
| 68 |
] |
| 69 |
}, |
| 70 |
"0.0.1": { |
| 71 |
"name": "archy", |
| 72 |
"version": "0.0.1", |
| 73 |
"description": "render nested hierarchies `npm ls` style with unicode pipes", |
| 74 |
"main": "index.js", |
| 75 |
"directories": { |
| 76 |
"lib": ".", |
| 77 |
"example": "example", |
| 78 |
"test": "test" |
| 79 |
}, |
| 80 |
"devDependencies": { |
| 81 |
"tap": "~0.2.3" |
| 82 |
}, |
| 83 |
"scripts": { |
| 84 |
"test": "tap test" |
| 85 |
}, |
| 86 |
"repository": { |
| 87 |
"type": "git", |
| 88 |
"url": "git://github.com/substack/node-archy.git" |
| 89 |
}, |
| 90 |
"keywords": [ |
| 91 |
"hierarchy", |
| 92 |
"npm ls", |
| 93 |
"unicode", |
| 94 |
"pretty", |
| 95 |
"print" |
| 96 |
], |
| 97 |
"author": { |
| 98 |
"name": "James Halliday", |
| 99 |
"email": "[email protected]", |
| 100 |
"url": "http://substack.net" |
| 101 |
}, |
| 102 |
"license": "MIT/X11", |
| 103 |
"engine": { |
| 104 |
"node": ">=0.4" |
| 105 |
}, |
| 106 |
"_npmUser": { |
| 107 |
"name": "substack", |
| 108 |
"email": "[email protected]" |
| 109 |
}, |
| 110 |
"_id": "[email protected]", |
| 111 |
"dependencies": {}, |
| 112 |
"engines": { |
| 113 |
"node": "*" |
| 114 |
}, |
| 115 |
"_engineSupported": true, |
| 116 |
"_npmVersion": "1.0.106", |
| 117 |
"_nodeVersion": "v0.4.12", |
| 118 |
"_defaultsLoaded": true, |
| 119 |
"dist": { |
| 120 |
"shasum": "8c26dc5741db90792ccdbd34c57311cb3003ea1b", |
| 121 |
"tarball": "https://registry.npmjs.org/archy/-/archy-0.0.1.tgz" |
| 122 |
}, |
| 123 |
"maintainers": [ |
| 124 |
{ |
| 125 |
"name": "substack", |
| 126 |
"email": "[email protected]" |
| 127 |
} |
| 128 |
] |
| 129 |
}, |
| 130 |
"0.0.2": { |
| 131 |
"name": "archy", |
| 132 |
"version": "0.0.2", |
| 133 |
"description": "render nested hierarchies `npm ls` style with unicode pipes", |
| 134 |
"main": "index.js", |
| 135 |
"directories": { |
| 136 |
"lib": ".", |
| 137 |
"example": "example", |
| 138 |
"test": "test" |
| 139 |
}, |
| 140 |
"devDependencies": { |
| 141 |
"tap": "~0.2.3" |
| 142 |
}, |
| 143 |
"scripts": { |
| 144 |
"test": "tap test" |
| 145 |
}, |
| 146 |
"repository": { |
| 147 |
"type": "git", |
| 148 |
"url": "git://github.com/substack/node-archy.git" |
| 149 |
}, |
| 150 |
"keywords": [ |
| 151 |
"hierarchy", |
| 152 |
"npm ls", |
| 153 |
"unicode", |
| 154 |
"pretty", |
| 155 |
"print" |
| 156 |
], |
| 157 |
"author": { |
| 158 |
"name": "James Halliday", |
| 159 |
"email": "[email protected]", |
| 160 |
"url": "http://substack.net" |
| 161 |
}, |
| 162 |
"license": "MIT/X11", |
| 163 |
"engine": { |
| 164 |
"node": ">=0.4" |
| 165 |
}, |
| 166 |
"_npmUser": { |
| 167 |
"name": "substack", |
| 168 |
"email": "[email protected]" |
| 169 |
}, |
| 170 |
"_id": "[email protected]", |
| 171 |
"dependencies": {}, |
| 172 |
"engines": { |
| 173 |
"node": "*" |
| 174 |
}, |
| 175 |
"_engineSupported": true, |
| 176 |
"_npmVersion": "1.0.106", |
| 177 |
"_nodeVersion": "v0.4.12", |
| 178 |
"_defaultsLoaded": true, |
| 179 |
"dist": { |
| 180 |
"shasum": "910f43bf66141fc335564597abc189df44b3d35e", |
| 181 |
"tarball": "https://registry.npmjs.org/archy/-/archy-0.0.2.tgz" |
| 182 |
}, |
| 183 |
"maintainers": [ |
| 184 |
{ |
| 185 |
"name": "substack", |
| 186 |
"email": "[email protected]" |
| 187 |
} |
| 188 |
] |
| 189 |
}, |
| 190 |
"1.0.0": { |
| 191 |
"name": "archy", |
| 192 |
"version": "1.0.0", |
| 193 |
"description": "render nested hierarchies `npm ls` style with unicode pipes", |
| 194 |
"main": "index.js", |
| 195 |
"devDependencies": { |
| 196 |
"tap": "~0.3.3", |
| 197 |
"tape": "~0.1.1" |
| 198 |
}, |
| 199 |
"scripts": { |
| 200 |
"test": "tap test" |
| 201 |
}, |
| 202 |
"testling": { |
| 203 |
"files": "test/*.js", |
| 204 |
"browsers": { |
| 205 |
"iexplore": [ |
| 206 |
"6.0", |
| 207 |
"7.0", |
| 208 |
"8.0", |
| 209 |
"9.0" |
| 210 |
], |
| 211 |
"chrome": [ |
| 212 |
"20.0" |
| 213 |
], |
| 214 |
"firefox": [ |
| 215 |
"10.0", |
| 216 |
"15.0" |
| 217 |
], |
| 218 |
"safari": [ |
| 219 |
"5.1" |
| 220 |
], |
| 221 |
"opera": [ |
| 222 |
"12.0" |
| 223 |
] |
| 224 |
} |
| 225 |
}, |
| 226 |
"repository": { |
| 227 |
"type": "git", |
| 228 |
"url": "http://github.com/substack/node-archy.git" |
| 229 |
}, |
| 230 |
"keywords": [ |
| 231 |
"hierarchy", |
| 232 |
"npm ls", |
| 233 |
"unicode", |
| 234 |
"pretty", |
| 235 |
"print" |
| 236 |
], |
| 237 |
"author": { |
| 238 |
"name": "James Halliday", |
| 239 |
"email": "[email protected]", |
| 240 |
"url": "http://substack.net" |
| 241 |
}, |
| 242 |
"license": "MIT", |
| 243 |
"gitHead": "30223c16191e877bf027b15b12daf077b9b55b84", |
| 244 |
"bugs": { |
| 245 |
"url": "https://github.com/substack/node-archy/issues" |
| 246 |
}, |
| 247 |
"homepage": "https://github.com/substack/node-archy", |
| 248 |
"_id": "[email protected]", |
| 249 |
"_shasum": "f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40", |
| 250 |
"_from": ".", |
| 251 |
"_npmVersion": "1.4.25", |
| 252 |
"_npmUser": { |
| 253 |
"name": "substack", |
| 254 |
"email": "[email protected]" |
| 255 |
}, |
| 256 |
"maintainers": [ |
| 257 |
{ |
| 258 |
"name": "substack", |
| 259 |
"email": "[email protected]" |
| 260 |
} |
| 261 |
], |
| 262 |
"dist": { |
| 263 |
"shasum": "f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40", |
| 264 |
"tarball": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz" |
| 265 |
}, |
| 266 |
"directories": {} |
| 267 |
} |
| 268 |
}, |
| 269 |
"readme": "# archy\n\nRender nested hierarchies `npm ls` style with unicode pipes.\n\n[](http://ci.testling.com/substack/node-archy)\n\n[](http://travis-ci.org/substack/node-archy)\n\n# example\n\n``` js\nvar archy = require('archy');\nvar s = archy({\n label : 'beep',\n nodes : [\n 'ity',\n {\n label : 'boop',\n nodes : [\n {\n label : 'o_O',\n nodes : [\n {\n label : 'oh',\n nodes : [ 'hello', 'puny' ]\n },\n 'human'\n ]\n },\n 'party\\ntime!'\n ]\n }\n ]\n});\nconsole.log(s);\n```\n\noutput\n\n```\nbeep\n├── ity\n└─┬ boop\n ├─┬ o_O\n │ ├─┬ oh\n │ │ ├── hello\n │ │ └── puny\n │ └── human\n └── party\n time!\n```\n\n# methods\n\nvar archy = require('archy')\n\n## archy(obj, prefix='', opts={})\n\nReturn a string representation of `obj` with unicode pipe characters like how\n`npm ls` looks.\n\n`obj` should be a tree of nested objects with `'label'` and `'nodes'` fields.\n`'label'` is a string of text to display at a node level and `'nodes'` is an\narray of the descendents of the current node.\n\nIf a node is a string, that string will be used as the `'label'` and an empty\narray of `'nodes'` will be used.\n\n`prefix` gets prepended to all the lines and is used by the algorithm to\nrecursively update.\n\nIf `'label'` has newlines they will be indented at the present indentation level\nwith the current prefix.\n\nTo disable unicode results in favor of all-ansi output set `opts.unicode` to\n`false`.\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install archy\n```\n\n# license\n\nMIT\n", |
| 270 |
"maintainers": [ |
| 271 |
{ |
| 272 |
"name": "substack", |
| 273 |
"email": "[email protected]" |
| 274 |
} |
| 275 |
], |
| 276 |
"time": { |
| 277 |
"modified": "2018-03-12T06:17:27.507Z", |
| 278 |
"created": "2012-03-08T21:18:36.039Z", |
| 279 |
"0.0.0": "2012-03-08T21:18:54.909Z", |
| 280 |
"0.0.1": "2012-03-08T23:09:26.726Z", |
| 281 |
"0.0.2": "2012-03-08T23:09:46.988Z", |
| 282 |
"1.0.0": "2014-09-14T07:57:58.806Z" |
| 283 |
}, |
| 284 |
"author": { |
| 285 |
"name": "James Halliday", |
| 286 |
"email": "[email protected]", |
| 287 |
"url": "http://substack.net" |
| 288 |
}, |
| 289 |
"repository": { |
| 290 |
"type": "git", |
| 291 |
"url": "http://github.com/substack/node-archy.git" |
| 292 |
}, |
| 293 |
"users": { |
| 294 |
"tellnes": true, |
| 295 |
"conradz": true, |
| 296 |
"kxbrand": true, |
| 297 |
"carlosmarte": true, |
| 298 |
"sametsisartenep": true, |
| 299 |
"simplyianm": true, |
| 300 |
"burl.bn": true, |
| 301 |
"bret": true, |
| 302 |
"regular": true, |
| 303 |
"nice_body": true, |
| 304 |
"edobry": true, |
| 305 |
"bojand": true, |
| 306 |
"slurm": true, |
| 307 |
"morrelinko": true, |
| 308 |
"simonfan": true, |
| 309 |
"ahmed-dinar": true, |
| 310 |
"tomekf": true, |
| 311 |
"seangenabe": true, |
| 312 |
"wangnan0610": true, |
| 313 |
"madsummer": true, |
| 314 |
"edwardxyt": true |
| 315 |
}, |
| 316 |
"homepage": "https://github.com/substack/node-archy", |
| 317 |
"keywords": [ |
| 318 |
"hierarchy", |
| 319 |
"npm ls", |
| 320 |
"unicode", |
| 321 |
"pretty", |
| 322 |
"print" |
| 323 |
], |
| 324 |
"bugs": { |
| 325 |
"url": "https://github.com/substack/node-archy/issues" |
| 326 |
}, |
| 327 |
"license": "MIT", |
| 328 |
"readmeFilename": "readme.markdown", |
| 329 |
"_attachments": {} |
| 330 |
} |