{"_id":"npmd-tree","_rev":"29-ae8c422726fd396649d257eca7cf214a","name":"npmd-tree","description":"query node_modules","dist-tags":{"latest":"3.3.4"},"versions":{"0.0.1":{"name":"npmd-tree","description":"query node_modules","version":"0.0.1","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"tree-query":"0.0.3","pull-fs":"1.1.3","pull-stream":"2.20.0"},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@0.0.1","dist":{"shasum":"affca385bcf0d21018f9e20f88e7ba6e75198642","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-0.0.1.tgz","integrity":"sha512-sUYgODypqkeAVePG45RAiCQj5JOSvIm5vbGsG/pQgh2hCzn0Z2PD5dsjPbqtRyT7VmhL6df1YP4Pej9jRItYCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDbJ2g3Q7xfXIdCatXI0GldoZSJUsQpjFjPTM9MrI49AiEAi3sJyqAfknHUbPgzpGYna96zEbLgzuYWne0hZNy5g8w="}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"1.0.0":{"name":"npmd-tree","description":"query node_modules","version":"1.0.0","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0"},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@1.0.0","dist":{"shasum":"a5a5cbe8f4ea144bb8cc8aa6645c0753ab4c90fb","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-1.0.0.tgz","integrity":"sha512-tbCYitvrN1wnxmmfZESMQBldvJDN1FCMSUZcCDGsxORSUo0LlmeQf4iqcfG5BrwOHBqTv1rwlkcAfmosZ8utqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7qYRvIYZZpvacOIGjvlQGNPKO2B/KyRubGn/fnQn4pgIhAMRX+zO+rba6xnFUJP/lt2z8QhnkjIL0PVa+YILeBDx/"}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"1.0.1":{"name":"npmd-tree","description":"query node_modules","version":"1.0.1","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0"},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@1.0.1","dist":{"shasum":"a7465a906010ec9bb2461b1ecab483637e022e38","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-1.0.1.tgz","integrity":"sha512-85G54sw3p/lWv5RlHXQkMk1je+YYf7Xio8BsDY08nNG70abz1ymOhdo9YatjqU/3lmP4BYAjHfrd7FtUcfErLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYrsZWNjbbgu2h8X91aK2WAoPhe+8HoPbwxI+EHrmhOQIhAJv4bHCgxjWMaMVGdpVWT/76FKU/V/9zc58okBIsW8iG"}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"1.0.2":{"name":"npmd-tree","description":"query node_modules","version":"1.0.2","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0"},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@1.0.2","dist":{"shasum":"e57339e95946e49e39625e19c33cd425fbe10eda","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-1.0.2.tgz","integrity":"sha512-JAGgVpLotBKb9EPn11ENFoQjKj5oOZltAsG0J+MDYVp78pVV8CnLscA7uSppr20WphYlONJOdCLvklBtk74Pyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGE4V4CASjS6Tms2QZMBYVveCudRqKJAAJVPxltZkDKAiARKvj0s1P8mVV8Pc7XDGboBwxz9iiHMrDc7AS0C6FcwA=="}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"2.0.0":{"name":"npmd-tree","description":"query node_modules","version":"2.0.0","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0"},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@2.0.0","dist":{"shasum":"f357c3403999faf3ab07df6c155efdfc9c769615","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-2.0.0.tgz","integrity":"sha512-vJ96HnO5B5mMsDpibYXPoh9BGaizMCy10W8HBKD03IZfxUkYFKBKtoXfXh7sOH8BJTrlWczjI/X4X7H7UxwkYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs05WyeU55ugiZ0ptjUmQ4oZ13ajV1I88KAvalnqoNJgIgaZugsRnDiihDliTBvT0hUl9BwQk9zL+mUr/trv3aYoQ="}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.0.0":{"name":"npmd-tree","description":"query node_modules","version":"3.0.0","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.3"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@3.0.0","dist":{"shasum":"f35c8d592e90ced742f5c2297a5e1f0a97c98afb","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.0.0.tgz","integrity":"sha512-Qnin5SMvvyQKzixMqvIyOxdTzPkCH3b3BCDpP4IwjYv7NNm7s0NOSZuFk/67svDUiVJdhejh92v/x+SWeUJAYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRnFvpRb5Nc503dN6E0HO65KjRYkwtHHunxTw+ibkdVAiAeH8nFqLdq4dPUCL+yA/Al7YvCzlhjiv49XVvnZlRm0w=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.1.0":{"name":"npmd-tree","description":"query node_modules","version":"3.1.0","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","optimist":"~0.6.0"},"author":"Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)","license":"MIT","dist":{"shasum":"6bdedd26020576f338b048bb61167dd8c12d6d4f","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.1.0.tgz","integrity":"sha512-NhiJm8gDfWaBGM2jLqcMdsP0lp6vYJlTP/uEBRYpDOwl32eMcVFeXyJV5F0YWVyGqOhcXtlxAPWmkK33D0Gv5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/cOlntZNDNME/zTZZtlsGs0wSmngS0Y/y7hmmixBW/AiEA7HQ28ML/rCTXy3TIVkDIb6rZy/edzkf3swPd9iGwyrQ="}]},"_id":"npmd-tree@3.1.0","readme":"# npmd\n\ndistributed npm client.\n\n`npmd` is an alternative npm client that uses leveldb and local replication to\nimprove performance by eliminating unnecessary network round-trips.\nIt is intended for use in the antipodes, via 3g, in airplanes, submarines, up trees, and in caves.\nBut it is still faster if you live in california too.\n\n## how\n\n`npmd` is based on the idea of eagre replication.\nAll the npm metadata (package.json + readmes) are stored locally in leveldb.\n(currently, with 44k modules this is about 260 mb)\nwhen you type `npmd install foo <enter>` npmd resolves all the dependencies\nfrom your local replica, without doing any network round-trips.\nThis is much faster than using npm, especially if you have a high latency internet connection.\n\nA local database also enables `npmd` to provide offline search, and indexes all readmes.\n\n## help\n\ndisplay help files\n\n```\nnpmd help $command\n```\n\n## sync\n\nTo begin, replicate the registry metadata.\nWhen this gets near 100% you can use the other commands.\n\n```\nnpm install npmd -g\nnpmd --sync\n```\n\nYou should leave the `npmd` service running in the background,\nthis will make running other `npmd` commands much faster.\n\nnpmd will pull down npm metadata, and store it in a leveldb.\nthis will be less than 200mb, including a full text index.\n\n## install\n\ninstall a module. if the module's dependencies are in the cache,\nthen `npmd` will install without making a single network round trip!\n\n```\nnpmd install browserify --greedy\n```\n\n`--greedy` is optional, if enabled, the dependency tree is flattened as much as possible.\nso you have less duplication.\n\nuse `--global` to install a command globally.\n\n## link\n\nInstall by linking. This is much faster than install, because it is not necessary to copy files.\n\n## publish\n\npublish a module locally. In a package directory, just do:\n\n```\nnpmd publish\n```\n\nand your package version will be stashed into a queue for local use. You can\n`npmd install yourpkg` locally even if `yourpkg` isn't on the public npm yet.\nYou can even have multiple versions of your package queued up locally.\n\nTo inspect your local package queue, do:\n\n```\nnpmd queue\n```\n\nYou can remove a package from your queue with:\n\n```\nnpmd queue rm pkgname@version\n```\n\nTo sync your local package queue with the public npm, you can run:\n\n```\nnpmd queue sync\n```\n\n## resolve\n\nresolve all module versions required to install a given module.\nwill write json to stdout in the same format as npm-shrinkwrap. \n\n```\nnpmd resolve request\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.2.0":{"name":"npmd-tree","description":"query node_modules","version":"3.2.0","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","optimist":"~0.6.0"},"bin":{"npmd-tree":"./index.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\nquery/traverse the `node_modules` tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## example\n\n``` js\n#show the tree, as json.\n\nnpmd-tree\n\n# compile binary deps.\n\nnpmd-tree -c 'if ( test -e binding.gyp) then node-gyp rebuild; fi' --quiet\n```\n\nor from javascript\n\n``` js\nvar tree = require('npmd-tree').tree\nvar spawn = require('child_process)'.spawn\ntree(process.cwd(), {post: function (pkg, cb) {\n  //optionally, perform an async step, such as build the repo.\n  if(!pkg.gypfile) return cb(null, pkg)\n\n  var cp = spawn('node-gyp', ['rebuild'], {cwd: pkg.path})\n  cp.stdout.pipe(process.stdout)\n  cp.stderr.pipe(process.stderr)\n  cp.on('exit', next)\n  cp.on('error', next)\n  var ended = false\n  function next (err) {\n    if(ended) return\n    ended = true\n    cb(err)\n  }\n}, function (err, tree) {\n  if(err) throw err\n  console.log(tree)\n})\n\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@3.2.0","dist":{"shasum":"c395f66c1d24b89b10026054e7e87398123db525","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.2.0.tgz","integrity":"sha512-1lI97SyNWrPovur+IJwU+s7gFEu0lNRWAf3tJBK1DsB6XrS8AkhCghdqqFgLVH/Zn2LUxZ8asLwn6q2dT3Ln5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLx3l0+oXbQzi0avX3M6MyPx69p5JxLQypfo5rh544oAiEA0r4jpF+ZlbeEC23+gCD6I/KVUZcjE/XmMVyEd5wh3ek="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.3.1":{"name":"npmd-tree","description":"query node_modules","version":"3.3.1","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","npmd-config":"~1.0.3"},"bin":{"npmd-tree":"./index.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\nquery/traverse the `node_modules` tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## example\n\n``` js\n#show the tree, as json.\n\nnpmd-tree\n\n# compile binary deps.\n\nnpmd-tree -c 'if ( test -e binding.gyp) then node-gyp rebuild; fi' --quiet\n```\n\nor from javascript\n\n``` js\nvar tree = require('npmd-tree').tree\nvar spawn = require('child_process)'.spawn\ntree(process.cwd(), {post: function (pkg, cb) {\n  //optionally, perform an async step, such as build the repo.\n  if(!pkg.gypfile) return cb(null, pkg)\n\n  var cp = spawn('node-gyp', ['rebuild'], {cwd: pkg.path})\n  cp.stdout.pipe(process.stdout)\n  cp.stderr.pipe(process.stderr)\n  cp.on('exit', next)\n  cp.on('error', next)\n  var ended = false\n  function next (err) {\n    if(ended) return\n    ended = true\n    cb(err)\n  }\n}, function (err, tree) {\n  if(err) throw err\n  console.log(tree)\n})\n\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@3.3.1","dist":{"shasum":"68bb77ad45f269133a52ec96744cdd7e9f009dff","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.3.1.tgz","integrity":"sha512-0mSJ8EvEqXje9NN9/wfuIcPONlG/D1HjwH1+uIcyZjgUFLZhuJuUaY0Q7Hc+Q2Lnsnk8yrclMxxkYuEZnFUHFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoPgEGjhKwztvQHYCP4TxOV+4ogIRWrnfNQ69/REPuXQIgAd2uEGa5NKvuzPijqtGWxESJj4zgqRMR50+XS5qp9dk="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.3.2":{"name":"npmd-tree","description":"query node_modules","version":"3.3.2","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","npmd-config":"~1.0.3"},"bin":{"npmd-tree":"./index.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\nquery/traverse the `node_modules` tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## example\n\n``` js\n#show the tree, as json.\n\nnpmd-tree\n\n# compile binary deps.\n\nnpmd-tree -c 'if ( test -e binding.gyp) then node-gyp rebuild; fi' --quiet\n```\n\nor from javascript\n\n``` js\nvar tree = require('npmd-tree').tree\nvar spawn = require('child_process)'.spawn\ntree(process.cwd(), {post: function (pkg, cb) {\n  //optionally, perform an async step, such as build the repo.\n  if(!pkg.gypfile) return cb(null, pkg)\n\n  var cp = spawn('node-gyp', ['rebuild'], {cwd: pkg.path})\n  cp.stdout.pipe(process.stdout)\n  cp.stderr.pipe(process.stderr)\n  cp.on('exit', next)\n  cp.on('error', next)\n  var ended = false\n  function next (err) {\n    if(ended) return\n    ended = true\n    cb(err)\n  }\n}, function (err, tree) {\n  if(err) throw err\n  console.log(tree)\n})\n\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@3.3.2","dist":{"shasum":"c0fabdf8a301c8617dee47e11a695a90e7306836","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.3.2.tgz","integrity":"sha512-H+U8QCXlv+2+Hmm/KS3oigfMvFxfkcd4BdOQGWeeTZtWNmkMn1EY+TZvVIzw5QXFGujp+eFRbQF5w6QWRsWKcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPVbZUzq697C7TTl5GhtYyNpTDkMXZxlLhrYlcaas15AiEAhPXYAbI4Blov7xBzoK+Wxcj5IYeZqsY+dZLw+1xTxYk="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.3.3":{"name":"npmd-tree","description":"query node_modules","version":"3.3.3","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","npmd-config":"~1.0.3"},"bin":{"npmd-tree":"./index.js"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","readme":"# npmd-tree\n\nquery/traverse the `node_modules` tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## example\n\n``` js\n#show the tree, as json.\n\nnpmd-tree\n\n# compile binary deps.\n\nnpmd-tree -c 'if ( test -e binding.gyp) then node-gyp rebuild; fi' --quiet\n```\n\nor from javascript\n\n``` js\nvar tree = require('npmd-tree').tree\nvar spawn = require('child_process)'.spawn\ntree(process.cwd(), {post: function (pkg, cb) {\n  //optionally, perform an async step, such as build the repo.\n  if(!pkg.gypfile) return cb(null, pkg)\n\n  var cp = spawn('node-gyp', ['rebuild'], {cwd: pkg.path})\n  cp.stdout.pipe(process.stdout)\n  cp.stderr.pipe(process.stderr)\n  cp.on('exit', next)\n  cp.on('error', next)\n  var ended = false\n  function next (err) {\n    if(ended) return\n    ended = true\n    cb(err)\n  }\n}, function (err, tree) {\n  if(err) throw err\n  console.log(tree)\n})\n\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dominictarr/npmd-tree/issues"},"_id":"npmd-tree@3.3.3","dist":{"shasum":"dfe198d841593c18df0adbb7ef33800c82657b0d","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.3.3.tgz","integrity":"sha512-ZaoMYvEDhdfMR7TyYtVGhwhRTXDeNZVaCDkn/6n6OSDQhLLZ6wsC5A0flZIxtraZPewWoNokyoOxI42hSX6HxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdjIZGOL5j7+8sT7tohSQIxiWvkT4+K/Y19/n00t0TygIhAIxN48dRqdsbNEs9Zlp+YMk2cnrSooAhT6QgE0OEePAQ"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}},"3.3.4":{"name":"npmd-tree","description":"query node_modules","version":"3.3.4","homepage":"https://github.com/dominictarr/npmd-tree","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"},"dependencies":{"pull-fs":"1.1.3","pull-stream":"2.20.0","pull-paramap":"~1.0.4","continuable":"~1.1.8","continuable-para":"~1.2.0","npmd-config":"~1.0.3","mkdirp":"~0.3.3"},"bin":"./index.js","scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":"Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)","license":"MIT","dist":{"shasum":"65cdb6ea36be09ff07fefa5c2eee6558fc9fcd84","tarball":"https://registry.npmjs.org/npmd-tree/-/npmd-tree-3.3.4.tgz","integrity":"sha512-6E1vuWIXURmUD/imt2ytn7W8Tu5Y3qs7p0gZhMHeW0ZIg1XuGg3BYFIv7c1LDJAh5ACAqQ4vaUEtFKnv8ARRXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDipFQ3l9Jq3tAquQWSHoSDPoS8NcLfirjNroVoxsOCEAIhAOy6xLJSThiDelIWPkg4mQFdtNwUQ8W5juGqEM5bS8+V"}]},"_id":"npmd-tree@3.3.4","readme":"# npmd-tree\n\nquery/traverse the `node_modules` tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## example\n\n``` js\n#show the tree, as json.\n\nnpmd-tree\n\n# compile binary deps.\n\nnpmd-tree -c 'if ( test -e binding.gyp) then node-gyp rebuild; fi' --quiet\n```\n\nor from javascript\n\n``` js\nvar tree = require('npmd-tree').tree\nvar spawn = require('child_process)'.spawn\ntree(process.cwd(), {post: function (pkg, cb) {\n  //optionally, perform an async step, such as build the repo.\n  if(!pkg.gypfile) return cb(null, pkg)\n\n  var cp = spawn('node-gyp', ['rebuild'], {cwd: pkg.path})\n  cp.stdout.pipe(process.stdout)\n  cp.stderr.pipe(process.stderr)\n  cp.on('exit', next)\n  cp.on('error', next)\n  var ended = false\n  function next (err) {\n    if(ended) return\n    ended = true\n    cb(err)\n  }\n}, function (err, tree) {\n  if(err) throw err\n  console.log(tree)\n})\n\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{}}},"readme":"# npmd-tree\n\n[![travis](https://travis-ci.org/dominictarr/npmd-tree.png?branch=master)\n](https://travis-ci.org/dominictarr/npmd-tree)\n\n## License\n\nMIT\n","maintainers":[{"email":"nopersonsmodules@gmail.com","name":"nopersonsmodules"}],"time":{"modified":"2022-06-22T10:21:57.624Z","created":"2013-06-27T05:33:24.540Z","0.0.1":"2013-06-27T05:33:25.987Z","1.0.0":"2013-06-27T07:44:46.916Z","1.0.1":"2013-06-27T07:49:21.172Z","1.0.2":"2013-06-27T08:00:14.939Z","2.0.0":"2013-07-04T04:41:26.316Z","3.0.0":"2013-11-21T01:58:12.151Z","3.1.0":"2013-11-22T09:47:30.571Z","3.2.0":"2013-11-22T13:43:27.814Z","3.3.1":"2013-11-22T18:04:59.542Z","3.3.2":"2013-11-22T18:13:19.861Z","3.3.3":"2013-11-23T15:41:06.753Z","3.3.4":"2013-12-02T15:08:28.354Z"},"author":"Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)","repository":{"type":"git","url":"git://github.com/dominictarr/npmd-tree.git"}}