{"_id":"resolve-up","_rev":"226021","name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T15:42:46.000Z","created":"2015-04-03T07:13:46.067Z","1.0.0":"2017-06-02T08:20:55.606Z","0.5.2":"2016-02-17T22:40:49.517Z","0.5.1":"2016-02-17T10:53:20.518Z","0.5.0":"2015-11-19T06:59:37.116Z","0.4.1":"2015-11-15T21:23:08.460Z","0.4.0":"2015-11-15T06:36:42.936Z","0.3.0":"2015-07-15T04:26:08.773Z","0.1.1":"2015-04-09T02:43:03.003Z","0.1.0":"2015-04-03T07:13:46.067Z"},"users":{"3846masa":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"versions":{"1.0.0":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.3.2","extend-shallow":"^2.0.1","global-modules":"^0.2.3","is-valid-glob":"^0.3.0","matched":"^0.4.4","npm-paths":"^0.1.3"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.2"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","resolve","search","up"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"highlight":"global-paths","list":["global-modules","global-paths","global-prefix","findup-sync"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"959348fbe886234ce0f0f24538e4af55134b705c","_id":"resolve-up@1.0.0","_npmVersion":"5.0.1","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"34dad7b9e0f69a34ba2c69d8559d4d03942babc7","size":3349,"noattachment":false,"key":"/resolve-up/-/resolve-up-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-up-1.0.0.tgz_1496391654722_0.3298969108145684"},"directories":{},"publish_time":1496391655606,"_cnpm_publish_time":1496391655606,"_hasShrinkwrap":false},"0.5.2":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.5.2","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^1.0.3","matched":"^0.4.1","npm-paths":"^0.1.2"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["look-up","global-paths","global-modules","global-prefix"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"5018db997b404c602e3f525a0bb0f1252bdef915","_id":"resolve-up@0.5.2","_shasum":"33499f8a10eeae32083e4a3d417c2cb093c29e07","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"33499f8a10eeae32083e4a3d417c2cb093c29e07","size":3064,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.5.2.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/resolve-up-0.5.2.tgz_1455748847046_0.7748977271839976"},"directories":{},"publish_time":1455748849517,"_cnpm_publish_time":1455748849517,"_hasShrinkwrap":false},"0.5.1":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.5.1","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^1.0.3","matched":"^0.4.1","npm-paths":"^0.1.2"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["look-up","global-paths","global-modules","global-prefix"]},"reflinks":["verb"]},"gitHead":"e8fb937c843b4b5a7c225a321383475467ece8f1","_id":"resolve-up@0.5.1","_shasum":"d3187c0fc234af2090c8d023cde845c4a6a52d04","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d3187c0fc234af2090c8d023cde845c4a6a52d04","size":3077,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.5.1.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/resolve-up-0.5.1.tgz_1455706398047_0.5485988904256374"},"directories":{},"publish_time":1455706400518,"_cnpm_publish_time":1455706400518,"_hasShrinkwrap":false},"0.5.0":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.4","matched":"^0.3.2","npm-paths":"^0.1.1"},"devDependencies":{"mocha":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"related":{"list":["look-up","global-paths","global-modules","global-prefix"]}},"gitHead":"76cecc9263f7f56effd0e8dd5f34cba07cbd4333","_id":"resolve-up@0.5.0","_shasum":"053984f4ba8a783a17d38903a81ab2aa4b5b225f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"053984f4ba8a783a17d38903a81ab2aa4b5b225f","size":3063,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.5.0.tgz"},"directories":{},"publish_time":1447916377116,"_cnpm_publish_time":1447916377116,"_hasShrinkwrap":false},"0.4.1":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","global-paths":"^0.1.1","is-valid-glob":"^0.3.0","matched":"^0.3.2"},"devDependencies":{"mocha":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"related":{"list":["look-up","global-paths","global-modules","global-prefix"]}},"gitHead":"ed0003eeae13dbf7e6dece0a5a74d17cf3566d0e","_id":"resolve-up@0.4.1","_shasum":"30d87592b46000a66bcac1c340369860288933b9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"30d87592b46000a66bcac1c340369860288933b9","size":2682,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.4.1.tgz"},"directories":{},"publish_time":1447622588460,"_cnpm_publish_time":1447622588460,"_hasShrinkwrap":false},"0.4.0":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","global-paths":"^0.1.1","is-valid-glob":"^0.3.0","matched":"^0.3.2"},"devDependencies":{"mocha":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"related":{"list":["look-up","global-paths","global-modules","global-prefix"]}},"gitHead":"904369c03555f576f8c0b0ef7a7d5b60849e81c1","_id":"resolve-up@0.4.0","_shasum":"17fb770d6136d39cd46053da8d1dc322484b4b39","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"17fb770d6136d39cd46053da8d1dc322484b4b39","size":2617,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.4.0.tgz"},"directories":{},"publish_time":1447569402936,"_cnpm_publish_time":1447569402936,"_hasShrinkwrap":false},"0.3.0":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns. Very fast, great for getting paths to yeoman generators, etc.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","global-modules":"^0.1.0","is-glob":"^2.0.0","micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["filepath","find","findup","get","glob","global","install","installed","list","match","module","npm","package","path","paths","search"],"verb":{"related":{"list":["generate","verb","assemble","update"]}},"gitHead":"4a9989512184d54e9deb89b295f40935f9c3c53b","_id":"resolve-up@0.3.0","_shasum":"32dae8119e7bec6adacd8ea433ad25369ac3eace","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"32dae8119e7bec6adacd8ea433ad25369ac3eace","size":3820,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.3.0.tgz"},"directories":{},"publish_time":1436934368773,"_cnpm_publish_time":1436934368773,"_hasShrinkwrap":false},"0.1.1":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/resolve-up/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","global-modules":"^0.1.0","is-glob":"^1.1.3","micromatch":"^2.1.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"b88f92a736ebbcf5a6f5a0a2330b2c567f0da039","_id":"resolve-up@0.1.1","_shasum":"9257372c3c593d4dbef04a2b92154d8a8ce7ecc1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9257372c3c593d4dbef04a2b92154d8a8ce7ecc1","size":3350,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.1.1.tgz"},"directories":{},"publish_time":1428547383003,"_cnpm_publish_time":1428547383003,"_hasShrinkwrap":false},"0.1.0":{"name":"resolve-up","description":"Resolve paths to globally installed npm modules using glob patterns.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/resolve-up","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/resolve-up.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/resolve-up/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-unique":"^0.2.1","global-modules":"^0.1.0","is-glob":"^1.1.3","micromatch":"^2.1.5"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"b88f92a736ebbcf5a6f5a0a2330b2c567f0da039","_id":"resolve-up@0.1.0","_shasum":"caf56cb7ce565edb8c34be32e419f43634ce6072","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"caf56cb7ce565edb8c34be32e419f43634ce6072","size":3242,"noattachment":false,"key":"/resolve-up/-/resolve-up-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-up/download/resolve-up-0.1.0.tgz"},"directories":{},"publish_time":1428045226067,"_cnpm_publish_time":1428045226067,"_hasShrinkwrap":false}},"readme":"# resolve-up [![NPM version](https://img.shields.io/npm/v/resolve-up.svg?style=flat)](https://www.npmjs.com/package/resolve-up) [![NPM monthly downloads](https://img.shields.io/npm/dm/resolve-up.svg?style=flat)](https://npmjs.org/package/resolve-up) [![NPM total downloads](https://img.shields.io/npm/dt/resolve-up.svg?style=flat)](https://npmjs.org/package/resolve-up) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/resolve-up.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/resolve-up)\n\n> Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.\n\nYou might also be interested in [global-paths](https://github.com/jonschlinkert/global-paths).\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save resolve-up\n```\n\n## Usage\n\n```js\nvar resolveUp = require('resolve-up');\nconsole.log(resolveUp('generate-*'));\n```\n\nResults in an array of absolute file paths, like:\n\n```js\n[ '/usr/local/lib/node_modules/generate-eslint',\n  '/usr/local/lib/node_modules/generate-package',\n  '/usr/local/lib/node_modules/generate-project' ]\n```\n\n## About\n\n### Related projects\n\n* [findup-sync](https://www.npmjs.com/package/findup-sync): Find the first file matching a given pattern in the current directory or the nearest… [more](https://github.com/cowboy/node-findup-sync) | [homepage](https://github.com/cowboy/node-findup-sync \"Find the first file matching a given pattern in the current directory or the nearest ancestor directory.\")\n* [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules \"The directory used by npm for globally installed npm modules.\")\n* [global-paths](https://www.npmjs.com/package/global-paths): Returns an array of unique \"global\" directories based on the user's platform and environment. The… [more](https://github.com/jonschlinkert/global-paths) | [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.\")\n* [global-prefix](https://www.npmjs.com/package/global-prefix): Get the npm global path prefix. | [homepage](https://github.com/jonschlinkert/global-prefix \"Get the npm global path prefix.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 02, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/resolve-up","bugs":{"url":"https://github.com/jonschlinkert/resolve-up/issues"},"license":"MIT"}