{"_id":"resolve-glob","_rev":"44874","name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:13:49.000Z","created":"2015-10-02T06:53:57.432Z","1.0.0":"2017-07-20T21:28:16.304Z","0.1.8":"2016-01-06T12:50:58.980Z","0.1.7":"2015-11-14T02:11:13.748Z","0.1.4":"2015-11-12T01:35:13.961Z","0.1.3":"2015-10-18T20:26:55.219Z","0.1.2":"2015-10-02T08:00:50.403Z","0.1.1":"2015-10-02T07:04:15.791Z","0.1.0":"2015-10-02T06:53:57.432Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"versions":{"1.0.0":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-valid-glob":"^1.0.0","matched":"^1.0.2","relative":"^3.0.2","resolve-dir":"^1.0.0"},"devDependencies":{"gulp-format-md":"^1.0.0","is-absolute":"^1.0.0","mocha":"^3.4.2"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["has-glob","is-glob","is-valid-glob"]},"lint":{"reflinks":true},"reflinks":["matched","resolve-dir"]},"gitHead":"a9c7c536d059aa5a28481c12af8e9336b326921c","_id":"resolve-glob@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c6142b0f850367607aae27506be7985d3a8c6931","size":3230,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-glob-1.0.0.tgz_1500586094906_0.5273108892142773"},"directories":{},"publish_time":1500586096304,"_hasShrinkwrap":false,"_cnpm_publish_time":1500586096304},"0.1.8":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.8","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^1.0.3","matched":"^0.4.1","relative":"^3.0.2","resolve-dir":"^0.1.0"},"devDependencies":{"gulp-format-md":"^0.1.4","is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]},"plugins":["gulp-format-md"]},"gitHead":"43d9b71dd90dccb8b03fee798d29895edb11009b","_id":"resolve-glob@0.1.8","_shasum":"4e339a4a69e8e27d0bca31662b70bced93303c3d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4e339a4a69e8e27d0bca31662b70bced93303c3d","size":2916,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.8.tgz"},"directories":{},"publish_time":1452084658980,"_cnpm_publish_time":1452084658980,"_hasShrinkwrap":false},"0.1.7":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.7","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.4","matched":"^0.3.2","relative":"^3.0.2","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"3ed4fa137c0a489bf6278226ea7ea9cf6f989890","_id":"resolve-glob@0.1.7","_shasum":"2c516f272d5715d0adc1cf42e5ee2c6347691526","_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":"2c516f272d5715d0adc1cf42e5ee2c6347691526","size":2877,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.7.tgz"},"directories":{},"publish_time":1447467073748,"_cnpm_publish_time":1447467073748,"_hasShrinkwrap":false},"0.1.4":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.4","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.4","matched":"^0.3.2","relative":"^3.0.1","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"aae4c4bf87bb323087edbbf00b6ce2e0bcd03c46","_id":"resolve-glob@0.1.4","_shasum":"dd3ba4d8250b26f87282edfc4fcc700fc470459c","_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":"dd3ba4d8250b26f87282edfc4fcc700fc470459c","size":2748,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.4.tgz"},"directories":{},"publish_time":1447292113961,"_cnpm_publish_time":1447292113961,"_hasShrinkwrap":false},"0.1.3":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-valid-glob":"^0.3.0","lazy-cache":"^0.2.3","matched":"^0.3.2","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"454cc3dea21e13964013562ac1c2e15d2a9a5752","_id":"resolve-glob@0.1.3","_shasum":"6938159c5ea0b250a5110bdbefca55750662872c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6938159c5ea0b250a5110bdbefca55750662872c","size":2595,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.3.tgz"},"directories":{},"publish_time":1445200015219,"_cnpm_publish_time":1445200015219,"_hasShrinkwrap":false},"0.1.2":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"globby":"^2.0.0","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.3","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"1009a7f0620f353008d8ec33533a3da28e0b3e83","_id":"resolve-glob@0.1.2","_shasum":"fd3cff7cf4dcd6ab21575ed260e12493cdf8152b","_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":"fd3cff7cf4dcd6ab21575ed260e12493cdf8152b","size":2616,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.2.tgz"},"directories":{},"publish_time":1443772850403,"_cnpm_publish_time":1443772850403,"_hasShrinkwrap":false},"0.1.1":{"name":"resolve-glob","description":"Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"globby":"^2.0.0","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.3","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","dir","directory","expand","expansion","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve","tilde"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"1a20e6f02d8822f2adbac95aaeb9da34c3c7e267","_id":"resolve-glob@0.1.1","_shasum":"22503759cf9736419d5b7d9ec933423aeba94958","_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":"22503759cf9736419d5b7d9ec933423aeba94958","size":2472,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.1.tgz"},"directories":{},"publish_time":1443769455791,"_cnpm_publish_time":1443769455791,"_hasShrinkwrap":false},"0.1.0":{"name":"resolve-glob","description":"Ensures that absolute file paths are returned from a glob pattern","version":"0.1.0","homepage":"https://github.com/jonschlinkert/resolve-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/resolve-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"globby":"^2.0.0","is-valid-glob":"^0.3.0","lazy-cache":"^0.2.3","resolve-dir":"^0.1.0"},"devDependencies":{"is-absolute":"^0.2.2","mocha":"*","should":"*"},"keywords":["absolute","file","filepath","glob","is","is-absolute","is-glob","pattern","resolve"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"_id":"resolve-glob@0.1.0","_shasum":"4d5b1ad60c74447bf73982852b7b0e4332e36886","_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":"4d5b1ad60c74447bf73982852b7b0e4332e36886","size":2277,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/resolve-glob/download/resolve-glob-0.1.0.tgz"},"directories":{},"publish_time":1443768837432,"_cnpm_publish_time":1443768837432,"_hasShrinkwrap":false}},"readme":"# resolve-glob [![NPM version](https://img.shields.io/npm/v/resolve-glob.svg?style=flat)](https://www.npmjs.com/package/resolve-glob) [![NPM monthly downloads](https://img.shields.io/npm/dm/resolve-glob.svg?style=flat)](https://npmjs.org/package/resolve-glob) [![NPM total downloads](https://img.shields.io/npm/dt/resolve-glob.svg?style=flat)](https://npmjs.org/package/resolve-glob) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/resolve-glob.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/resolve-glob)\n\n> Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save resolve-glob\n```\n\n## Usage\n\n```js\nvar glob = require('resolve-glob');\n```\n\nSee [matched](https://github.com/jonschlinkert/matched) for the full range of features and options.\n\n**async**\n\n```js\nglob(['*.js'], function(err, files) {\n  console.log(files[0])\n  //=> '/Users/jonschlinkert/dev/resolve-glob/index.js'\n});\n```\n\n**sync**\n\n```js\nvar files = glob.sync(['*.js']);\nconsole.log(files[0])\n//=> '/Users/jonschlinkert/dev/resolve-glob/index.js'\n```\n\n### cwd expansion\n\nThe following characters are expanded to directories with [resolve-dir](https://github.com/jonschlinkert/resolve-dir) when used as leading characters in `options.cwd`:\n\n* `~`: expanded to the user home directory\n* `@`: expanded to global npm modules directory\n\nSee [resolve-dir](https://github.com/jonschlinkert/resolve-dir) for more details.\n\n## About\n\n### Related projects\n\n* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob \"Returns `true` if an array has a glob pattern.\")\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\n* [is-valid-glob](https://www.npmjs.com/package/is-valid-glob): Return true if a value is a valid glob pattern or patterns. | [homepage](https://github.com/jonschlinkert/is-valid-glob \"Return true if a value is a valid glob pattern or patterns.\")\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 July 20, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/resolve-glob","bugs":{"url":"https://github.com/jonschlinkert/resolve-glob/issues"},"license":"MIT"}