吕君喜 406d880ac6 first | 3 years ago | |
---|---|---|
.. | ||
LICENSE | 3 years ago | |
README.md | 3 years ago | |
index.js | 3 years ago | |
package.json | 3 years ago |
Get the npm global path prefix.
Install with npm:
$ npm install --save global-prefix
This is based on the code used by npm internally to resolve the global prefix.
var prefix = require('global-prefix');
//=> '/usr/local'
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
| Commits | Contributor | | --- | --- | | 16 | jonschlinkert | | 1 | rmbaad | | 1 | jason-chang | | 1 | jorrit | | 1 | mathiasvr | | 1 | tunnckoCore |
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.2.0, on November 30, 2016.