├── .babelrc ├── .gitignore ├── .npmignore ├── .npmrc ├── .travis.yml ├── LICENSE ├── Readme.md ├── bin └── npm-path ├── package.json ├── src ├── find-prefix.js └── index.js └── test ├── fixture ├── level0 │ └── test │ │ └── .gitignore └── level0_node_modules │ └── test │ └── .gitignore └── index.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": "airbnb" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/LICENSE -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/Readme.md -------------------------------------------------------------------------------- /bin/npm-path: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/bin/npm-path -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/package.json -------------------------------------------------------------------------------- /src/find-prefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/src/find-prefix.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/src/index.js -------------------------------------------------------------------------------- /test/fixture/level0/test/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixture/level0_node_modules/test/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timoxley/npm-path/HEAD/test/index.js --------------------------------------------------------------------------------