The directory used by npm for globally installed npm modules.
Install with npm:
$ npm install global-modules --save
var dir = require('global-modules');
//=> '/usr/local/lib/node_modules' (depends on OS)
- contains-path: Return true if a file path contains the given path. | homepage
- cwd: Easily get the CWD (current working directory) of a project based on package.json, optionally starting… more | homepage
- git-config-path: Resolve the path to the user's global .gitconfig. | homepage
- global-prefix: Get the npm global path prefix. | homepage
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ 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, v0.9.0, on March 13, 2016.