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

Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.
Install
Install with npm:
$ npm i resolve-up --save
Usage
var resolveUp = require('resolve-up');
console.log(resolveUp('generator-*'));
Results in an array of module directories like:
[ '/usr/local/lib/node_modules/generator-foo',
'/usr/local/lib/node_modules/generator-bar',
'/usr/local/lib/node_modules/generator-baz' ]
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
- global-prefix: Get the npm global path prefix. | homepage
- look-up: Faster drop-in replacement for find-up and findup-sync. | homepage
Generate docs
Generate readme and API documentation with verb:
$ npm i -d && npm run docs
Or, if verb is installed globally:
$ verb
Running 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 © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb, v0.9.0, on February 17, 2016.