wallet-core/node_modules/global-prefix
2017-12-10 21:51:33 +01:00
..
node_modules upgrade dependencies 2017-12-10 21:51:33 +01:00
index.js Reorganize module loading. 2017-04-24 16:14:29 +02:00
LICENSE add node_modules to address #4364 2016-10-10 03:43:44 +02:00
package.json Reorganize module loading. 2017-04-24 16:14:29 +02:00
README.md node_modules 2017-05-03 15:35:00 +02:00

global-prefix NPM version NPM downloads Linux Build Status Windows Build Status

Get the npm global path prefix.

Install

Install with npm:

$ npm install --save global-prefix

This is based on the code used by npm internally to resolve the global prefix.

Usage

var prefix = require('global-prefix');
//=> '/usr/local'

About

  • 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](https://github.com/jonschlinkert/global-paths "Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.")

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Contributors

Commits Contributor
16 jonschlinkert
1 rmbaad
1 jason-chang
1 jorrit
1 mathiasvr
1 tunnckoCore

Building docs

(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

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.0, on November 30, 2016.