npm-bin-path

0.1.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i npm-bin-path

Weekly Downloads

3

Version

0.1.2

License

MIT

Last publish

Collaborators

  • ragingwind