Package Exports
- global-prefix
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (global-prefix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
global-prefix

Get the npm global path prefix.
Install
Install with npm:
$ npm install global-prefix --saveThis is based on the code used by npm internally to resolve the global prefix.
Usage
var prefix = require('global-prefix');
//=> '/usr/local'Related projects
You might also be interested in these projects:
- global-modules: The directory used by npm for globally installed npm modules. | homepage
- global-paths: Returns an array of unique "global" directories based on the user's platform and environment. The… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
Generate readme and API documentation with verb:
$ npm install verb && npm run docsOr, if verb is installed globally:
$ verbRunning tests
Install dev dependencies:
$ npm install -d && npm testAuthor
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on April 07, 2016.