├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── package.json ├── read-installed.js └── test ├── basic.js ├── cyclic-extraneous-peer-deps.js ├── depth-0.js ├── depth-1.js ├── dev.js ├── empty.js ├── extraneous-dev.js ├── extraneous.js ├── fixtures ├── extraneous-detected │ ├── node_modules │ │ ├── asdf │ │ │ └── package.json │ │ ├── bar │ │ │ ├── node_modules │ │ │ │ └── baz │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── foo │ │ │ └── package.json │ │ └── ghjk │ │ │ └── package.json │ └── package.json ├── extraneous-dev-dep │ ├── node_modules │ │ ├── d │ │ │ └── package.json │ │ └── x │ │ │ └── package.json │ └── package.json ├── grandparent-peer-dev │ └── package.json ├── grandparent-peer │ ├── node_modules │ │ ├── framework │ │ │ └── package.json │ │ └── plugin-wrapper │ │ │ ├── node_modules │ │ │ └── plugin │ │ │ │ └── package.json │ │ │ └── package.json │ └── package.json ├── issue-40 │ └── node_modules │ │ └── fake │ │ └── package.json ├── package.json └── peer-at-latest │ └── node_modules │ ├── debug │ └── package.json │ └── strong-task-emitter │ └── package.json ├── grandparent-peer-dev.js ├── grandparent-peer.js ├── issue-40.js ├── linked-dep-dev-deps-extraneous.js ├── noargs.js └── peer-dep-at-latest.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/package.json -------------------------------------------------------------------------------- /read-installed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/read-installed.js -------------------------------------------------------------------------------- /test/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/basic.js -------------------------------------------------------------------------------- /test/cyclic-extraneous-peer-deps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/cyclic-extraneous-peer-deps.js -------------------------------------------------------------------------------- /test/depth-0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/depth-0.js -------------------------------------------------------------------------------- /test/depth-1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/depth-1.js -------------------------------------------------------------------------------- /test/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/dev.js -------------------------------------------------------------------------------- /test/empty.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/empty.js -------------------------------------------------------------------------------- /test/extraneous-dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/extraneous-dev.js -------------------------------------------------------------------------------- /test/extraneous.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/extraneous.js -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/node_modules/asdf/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/node_modules/asdf/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/node_modules/bar/node_modules/baz/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/node_modules/bar/node_modules/baz/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/node_modules/bar/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/node_modules/bar/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/node_modules/foo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/node_modules/foo/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/node_modules/ghjk/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/node_modules/ghjk/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-detected/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-detected/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-dev-dep/node_modules/d/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-dev-dep/node_modules/d/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-dev-dep/node_modules/x/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-dev-dep/node_modules/x/package.json -------------------------------------------------------------------------------- /test/fixtures/extraneous-dev-dep/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/extraneous-dev-dep/package.json -------------------------------------------------------------------------------- /test/fixtures/grandparent-peer-dev/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/grandparent-peer-dev/package.json -------------------------------------------------------------------------------- /test/fixtures/grandparent-peer/node_modules/framework/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/grandparent-peer/node_modules/framework/package.json -------------------------------------------------------------------------------- /test/fixtures/grandparent-peer/node_modules/plugin-wrapper/node_modules/plugin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/grandparent-peer/node_modules/plugin-wrapper/node_modules/plugin/package.json -------------------------------------------------------------------------------- /test/fixtures/grandparent-peer/node_modules/plugin-wrapper/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/grandparent-peer/node_modules/plugin-wrapper/package.json -------------------------------------------------------------------------------- /test/fixtures/grandparent-peer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/grandparent-peer/package.json -------------------------------------------------------------------------------- /test/fixtures/issue-40/node_modules/fake/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/issue-40/node_modules/fake/package.json -------------------------------------------------------------------------------- /test/fixtures/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/package.json -------------------------------------------------------------------------------- /test/fixtures/peer-at-latest/node_modules/debug/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/peer-at-latest/node_modules/debug/package.json -------------------------------------------------------------------------------- /test/fixtures/peer-at-latest/node_modules/strong-task-emitter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/fixtures/peer-at-latest/node_modules/strong-task-emitter/package.json -------------------------------------------------------------------------------- /test/grandparent-peer-dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/grandparent-peer-dev.js -------------------------------------------------------------------------------- /test/grandparent-peer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/grandparent-peer.js -------------------------------------------------------------------------------- /test/issue-40.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/issue-40.js -------------------------------------------------------------------------------- /test/linked-dep-dev-deps-extraneous.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/linked-dep-dev-deps-extraneous.js -------------------------------------------------------------------------------- /test/noargs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/noargs.js -------------------------------------------------------------------------------- /test/peer-dep-at-latest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npm/read-installed/HEAD/test/peer-dep-at-latest.js --------------------------------------------------------------------------------