├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin.js ├── index.js ├── lib ├── cli.js ├── cycle.js └── npm-graph.js ├── package.json └── test ├── bad-refs ├── index.js └── package.json ├── cli.test.js ├── cycle.detection.test.js ├── fake-package ├── index.js ├── loc1.js ├── loc2.js ├── loc3.js ├── node_modules │ ├── fake2 │ │ ├── index.js │ │ └── package.json │ └── readable-stream │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── duplex.js │ │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ └── _stream_writable.js │ │ ├── node_modules │ │ ├── core-util-is │ │ │ ├── README.md │ │ │ ├── float.patch │ │ │ ├── lib │ │ │ │ └── util.js │ │ │ ├── package.json │ │ │ └── util.js │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── isarray │ │ │ ├── README.md │ │ │ ├── build │ │ │ │ └── build.js │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ └── package.json │ │ └── string_decoder │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── package.json │ │ ├── passthrough.js │ │ ├── readable.js │ │ ├── transform.js │ │ └── writable.js └── package.json ├── json-includes ├── data.json ├── empty.json └── index.js └── self.graph.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib-cov/ 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/README.md -------------------------------------------------------------------------------- /bin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/bin.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/index.js -------------------------------------------------------------------------------- /lib/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/lib/cli.js -------------------------------------------------------------------------------- /lib/cycle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/lib/cycle.js -------------------------------------------------------------------------------- /lib/npm-graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/lib/npm-graph.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/package.json -------------------------------------------------------------------------------- /test/bad-refs/index.js: -------------------------------------------------------------------------------- 1 | var d = require('uninstalled-dep'); 2 | -------------------------------------------------------------------------------- /test/bad-refs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/bad-refs/package.json -------------------------------------------------------------------------------- /test/cli.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/cli.test.js -------------------------------------------------------------------------------- /test/cycle.detection.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/cycle.detection.test.js -------------------------------------------------------------------------------- /test/fake-package/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/index.js -------------------------------------------------------------------------------- /test/fake-package/loc1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/loc1.js -------------------------------------------------------------------------------- /test/fake-package/loc2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/loc2.js -------------------------------------------------------------------------------- /test/fake-package/loc3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/loc3.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/fake2/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/fake2/index.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/fake2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/fake2/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/LICENSE -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/README.md -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/lib/_stream_duplex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/lib/_stream_duplex.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/lib/_stream_passthrough.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/lib/_stream_passthrough.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/lib/_stream_readable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/lib/_stream_readable.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/lib/_stream_transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/lib/_stream_transform.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/lib/_stream_writable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/lib/_stream_writable.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/core-util-is/README.md -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/core-util-is/float.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/core-util-is/float.patch -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/core-util-is/lib/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/core-util-is/lib/util.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/core-util-is/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/core-util-is/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/core-util-is/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/core-util-is/util.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/inherits/LICENSE -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/inherits/README.md -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/inherits/inherits_browser.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/inherits/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/inherits/test.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/isarray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/isarray/README.md -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/isarray/build/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/isarray/build/build.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/isarray/component.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/isarray/index.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/isarray/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/isarray/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/string_decoder/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/string_decoder/LICENSE -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/string_decoder/README.md -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/string_decoder/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/string_decoder/index.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/node_modules/string_decoder/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/node_modules/string_decoder/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/package.json -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/node_modules/readable-stream/readable.js -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /test/fake-package/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /test/fake-package/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/fake-package/package.json -------------------------------------------------------------------------------- /test/json-includes/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/json-includes/data.json -------------------------------------------------------------------------------- /test/json-includes/empty.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/json-includes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/json-includes/index.js -------------------------------------------------------------------------------- /test/self.graph.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clux/npm-graph/HEAD/test/self.graph.test.js --------------------------------------------------------------------------------