1.2.0 • Published 8 years ago
npm-prefix v1.2.0
npm-prefix
Get global npm prefix. Respects npmrc configs.
Example
var npmPrefix = require('npm-prefix');
npmPrefix()
//=> '/usr/local'
API
npmPrefix()
Returns the npm prefix.
Install
npm install npm-prefix
License
MIT