8000 GitHub - rmbaad/global-prefix: Get the npm global path prefix. Same code used internally by npm.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rmbaad/global-prefix

 
 

Repository files navigation

global-prefix NPM version Build Status

Get the npm global path prefix.

Install

Install with npm:

$ npm install global-prefix --save

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

Usage

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

Related projects

Running tests

Install dev dependencies:

$ npm install -d && npm test

Contributing

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.

About

Get the npm global path prefix. Same code used internally by npm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0