npm-bin-path
v0.1.2
Published
Get path of npm bin directory for executing locally and globally
Downloads
16
Readme
npm-bin-path
Get path of npm bin directory for executing locally and globally
Install
$ npm install --save npm-bin-path
Usage
const npmBinPath = require('npm-bin-path');
npmBinPath().then(p => {
//=> ['./node_modules/.bin', '/.nvm/versions/node/v4.1.2/bin']
});
API
npmBinPath()
returns array of npm paths.
License
MIT © ragingwind