{"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}],"keywords":["npm","package","nsp","security","shrinkwrap"],"dist-tags":{"latest":"6.0.0"},"author":{"name":"^lift security"},"description":"## Methods:","readme":"# node security project npm utilities\n\n## Methods:\n\n### getPackageJson = function (module, callback)\n\nReturn the full package document for the given `module`.\n\n### getShrinkwrapDependencies = function (shrinkwrapJson, callback)\n\nGet a [depTree](#deptree-format) for the module from a full npm-shrinkwrap.json. `shrinkwrapJson` should be an object from a parsed npm-shrinkwrap.json file (or look like one): required keys: `name`, `version`, `dependencies`.\n\n```js\nvar fs = require('fs');\n\ngetShrinkwrapDependencies(JSON.parse(fs.readFileSync('./npm-shrinkwrap.json')), function (err, depTree) {\n    console.log(depTree);\n});\n```\n\n#### depTree format\n\nThe returned `depTree` representing the full dependency tree object is in a format that's easier to traverse than a full tree. Each module in the full heirarchy has a key in the object of `module@version`. It's value is an object with `parents`, `children` and `source`.\n\nNote that the root module has a key too.\n\ne.g.:\n\n```js\n//depTree for some-module version 1.1.0\n{\n    //root module\n    \"some-module@1.1.0\": {\n        parents: [],\n        children: [\"depA@0.1.0\", \"depB@1.0.1\", \"depC@0.2.0\"],\n    },\n\n    //root's dependencies\n    \"depA@0.1.0\": {\n        parents: [\"some-module@1.1.0\"],\n        children: [\"underscore@1.6.0\"],\n        source: \"npm\"\n    },\n    \"depB@1.0.1\": {\n        parents: [\"some-module@1.1.0\"],\n        children: [\"underscore@1.6.0\", \"backbone@1.0.0\"],\n        source: \"npm\"\n    },\n    \"depC@0.2.0\": {\n        parents: [\"some-module@1.1.0\"],\n        children: [],\n        source: \"unknown\" //not on npm, maybe it's private/local?\n    }\n\n    //deeper dependencies\n    \"underscore@1.6.0\": {\n        parents: [\"depA@0.1.0\", \"depB@1.0.1\", \"backbone@1.6.0\"], //modules can be required multiple places in the tree\n        children: [],\n        source: \"npm\"\n    },\n    \"backbone@1.6.0\": {\n        parents: [\"depB@1.0.1\"], //modules can be required multiple places in the tree\n        children: [\"underscore@1.6.0\"],\n        source: \"npm\"\n    }\n}\n```\n","repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"license":"MIT","versions":{"3.0.0":{"name":"nodesecurity-npm-utils","version":"3.0.0","author":{"name":"^lift security"},"dependencies":{"semver":"^5.0.3","silent-npm-registry-client":"1.0.0"},"devDependencies":{"eslint":"^1.8.0","eslint-config-nodesecurity":"^1.0.0","git-validate":"^2.1.0"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"lint":"eslint ."},"gitHead":"cba58a4e88eadf1f8e9d28ef50ca37ca9b1ddace","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@3.0.0","_shasum":"71fea52a8c9a1cd42b78c54a64c0931dfa19341f","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"quitlahok@gmail.com"},"dist":{"shasum":"71fea52a8c9a1cd42b78c54a64c0931dfa19341f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-3.0.0.tgz","integrity":"sha512-GWTy1OkMAHK5SC4+SvfTclJ8L12HaNui5+Fuaxvbr3AhBvPqhtTYMjGfVk2rtOV1JValdIbW9K322HETmuK24w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5KnfQOA+pZW6oahrBNKLqstHZYimbxodZWNFe2ENWOAiEA+btPQU4Ki31TZhcWxpfkUhwscQUPMH0Vo1uCCgg11vE="}]},"maintainers":[{"name":"anonymous","email":"quitlahok@gmail.com"}]},"3.2.0":{"name":"nodesecurity-npm-utils","version":"3.2.0","author":{"name":"^lift security"},"dependencies":{"semver":"^5.0.3","silent-npm-registry-client":"2.0.0"},"devDependencies":{"eslint":"^1.8.0","eslint-config-nodesecurity":"^1.0.0","eslint-plugin-hapi":"^4.0.0","git-validate":"^2.1.0"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"lint":"eslint ."},"gitHead":"a2e40a203ef38eb311f59a44f5cd45df315942f9","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@3.2.0","_shasum":"6c82570411f71d03be19602d32f5bfd7760ef3da","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"anonymous","email":"baldwin@andyet.net"},"dist":{"shasum":"6c82570411f71d03be19602d32f5bfd7760ef3da","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-3.2.0.tgz","integrity":"sha512-M5HuO3wAwOra5mjttx7RW3qt8krCdv1HhjPU+wjmnsmXryb3r9ZsGRArhyf3dxBseqjbYUAMgkNzTtJoxSgoIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWRLcU8Ox6YZr7XBcvJuPGFnJvWJWSbKBPabS39kCpPAIgImmSX5ZoH7T9F/fSzckhQQfojdIzkw9eowJpDgpzRHg="}]},"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}]},"4.0.0":{"name":"nodesecurity-npm-utils","version":"4.0.0","author":{"name":"^lift security"},"dependencies":{"semver":"^5.0.3","silent-npm-registry-client":"2.0.0"},"devDependencies":{"eslint":"^1.8.0","eslint-config-nodesecurity":"^1.0.0","eslint-plugin-hapi":"^4.0.0","git-validate":"^2.1.0"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"lint":"eslint ."},"gitHead":"87660b77fe0bd5bfa19ba82871703af1ff47e0f5","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@4.0.0","_shasum":"0eeed6c61840fdf722dd2b79abda726cffcaca39","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.2","_npmUser":{"name":"anonymous","email":"quitlahok@gmail.com"},"dist":{"shasum":"0eeed6c61840fdf722dd2b79abda726cffcaca39","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-4.0.0.tgz","integrity":"sha512-spzNo7+Jfr5x/Nu0RZ744wdaXv04k7t0lVH7cykwrpAMnro29UQT8LLsDzwCsVHskjlvL7t9/IJWlV0mC8MfQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/CuB5HRc6wWDdv3L3flHYIX+kllxqB0Nz4AHqCgMHdAIgVsQKjdoaSnItoMYlpSt3J6jpzcuV80271T0On6D2X3E="}]},"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}]},"4.0.1":{"name":"nodesecurity-npm-utils","version":"4.0.1","author":{"name":"^lift security"},"dependencies":{"semver":"^5.0.3","silent-npm-registry-client":"2.0.0"},"devDependencies":{"eslint":"^1.8.0","eslint-config-nodesecurity":"^1.0.0","eslint-plugin-hapi":"^4.0.0","git-validate":"^2.1.0"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"lint":"eslint ."},"gitHead":"6838407deb01da9abd8e03fbae010b16b51424b2","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@4.0.1","_shasum":"99d5e2f70699c7686e9a8ed1c3a2992b6775f467","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.2","_npmUser":{"name":"anonymous","email":"quitlahok@gmail.com"},"dist":{"shasum":"99d5e2f70699c7686e9a8ed1c3a2992b6775f467","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-4.0.1.tgz","integrity":"sha512-Tx6eSgKqCnjeboqkfQ4JmoXrSa2Ay5eAFa781N6rcMg8Y9O7KzGsDN/IGtSZQQxLFtmej0autxk1rPUzqXXH1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE4+Mc/YbFcE+flYpku8G7uRH4SXZxb2Q7R4/GagSVNUAiBGnS04AeCyIKad8xBx8oaGKmPoTWtDAUBtrMN8+UXtJg=="}]},"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}]},"5.0.0":{"name":"nodesecurity-npm-utils","version":"5.0.0","author":{"name":"^lift security"},"dependencies":{},"devDependencies":{"eslint":"^2.13.1","eslint-config-nodesecurity":"^1.0.0","eslint-plugin-hapi":"^4.0.0","git-validate":"^2.1.0"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"lint":"eslint ."},"gitHead":"0b2636d3478359440b78faffb554bbf23ee81acf","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@5.0.0","_shasum":"05aa30de30ca8c845c4048e94fd78e5e08b55ed9","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.1","_npmUser":{"name":"anonymous","email":"quitlahok@gmail.com"},"dist":{"shasum":"05aa30de30ca8c845c4048e94fd78e5e08b55ed9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-5.0.0.tgz","integrity":"sha512-356xXArWp+e1w4s1FdnFmQTcIVlQdOPENvoia4WI2GTO9rsRaqTbCVcPQiuBiP6F3VJMCkAYpnOiEwflem3k6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVQwfnl+AQ5UUZysQqgxth001EBf6Nkc9i8tXzx626wQIhAJi+QoIVirSlnop1Am69I8811LsazX6HSKKuX9rreAVH"}]},"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/nodesecurity-npm-utils-5.0.0.tgz_1466524652465_0.22232430800795555"}},"6.0.0":{"name":"nodesecurity-npm-utils","version":"6.0.0","author":{"name":"^lift security"},"dependencies":{},"devDependencies":{"code":"^4.1.0","eslint":"^4.7.0","eslint-config-nodesecurity":"^1.3.1","eslint-plugin-hapi":"^4.0.0","git-validate":"^2.1.4","lab":"^14.2.2"},"keywords":["npm","package","nsp","security","shrinkwrap"],"license":"MIT","main":"index.js","pre-commit":["lint","test"],"repository":{"type":"git","url":"git+https://github.com/nodesecurity/npm-utils.git"},"scripts":{"test":"lab -a code -L -t 100","lint":"eslint ."},"gitHead":"573b95aa3d8bf4357bf81f5b7dc1b41c275e4bed","description":"## Methods:","bugs":{"url":"https://github.com/nodesecurity/npm-utils/issues"},"homepage":"https://github.com/nodesecurity/npm-utils#readme","_id":"nodesecurity-npm-utils@6.0.0","_npmVersion":"5.4.1","_nodeVersion":"8.5.0","_npmUser":{"name":"anonymous","email":"quitlahok@gmail.com"},"dist":{"integrity":"sha512-NLRle1woNaT2orR6fue2jNqkhxDTktgJj3sZxvR/8kp21pvOY7Gwlx5wvo0H8ZVPqdgd2nE2ADB9wDu5Cl8zNg==","shasum":"5fb5974008c0c97a5c01844faa8fd3fc5520806c","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/nodesecurity-npm-utils/-/nodesecurity-npm-utils-6.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4ltiPjXgK3/Xnx80z6+12ySFX5l5+GhtJYmCOzOi3bAiEApRABiTGZ1r/k9VWAedXUhKfR1Pic4Gy7mGYT2Y1ofXY="}]},"maintainers":[{"name":"anonymous","email":"baldwin@andyet.net"},{"name":"anonymous","email":"quitlahok@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodesecurity-npm-utils-6.0.0.tgz_1505518014182_0.5104071595706046"}}},"name":"nodesecurity-npm-utils","time":{"modified":"2022-06-22T03:34:44.911Z","created":"2015-11-02T23:57:33.849Z","3.0.0":"2015-11-02T23:57:33.849Z","3.2.0":"2015-12-21T19:13:21.969Z","4.0.0":"2015-12-31T00:03:44.363Z","4.0.1":"2015-12-31T00:41:01.430Z","5.0.0":"2016-06-21T15:57:33.008Z","6.0.0":"2017-09-15T23:26:54.326Z"},"readmeFilename":"README.md","homepage":"https://github.com/nodesecurity/npm-utils#readme"}