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 the code used by npm internally to resolve the global prefix.
Usage
var prefix = require('global-prefix');
//=> '/usr/local'Related 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
Running tests
Install dev dependencies:
$ npm install -d && npm testContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Authors
Jon Schlinkert
License
Copyright © 2016 Jon Schlinkert Copyright (c) npm, Inc. and Contributors Released under the MIT license.
This file was generated by verb, v0.9.0, on March 13, 2016.