JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27047062
  • Score
    100M100P100Q213587F
  • License

The directory used by npm for globally installed npm modules.

Package Exports

  • global-modules

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-modules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

global-modules NPM version

The directory used by npm for globally installed npm modules.

Install with npm

npm i global-modules --save

Usage

var globalModules = require('global-modules');
//=> '/usr/local/lib/node_modules' (depends on OS)

Other projects

  • global-prefix: Get the npm global path prefix.
  • cwd: Node.js util for easily getting the current working directory of a project based on package.json or the given path.
  • git-config-path: Resolve the path to the user's global .gitconfig.

Run tests

Install dev dependencies.

npm i -d && npm test

Contributing

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

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 06, 2015.