0.1.2 • Published 8 years ago

npm-bin-path v0.1.2

Weekly downloads
15
License
MIT
Repository
github
Last release
8 years ago

npm-bin-path Build Status

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