{"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","tarball":"http://registry-npm.ywwl.com/resolve-glob/download/resolve-glob-0.1.0.tgz","integrity":"sha512-t+0lS5fE/KAdUiAO5Vf1h+39Pva0elNoAYfNs/ZQRgBFpdte9E6SOszm5wtIf95gznxbVbzbX3XkmnSUdrfqLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0pXdgJphCETDjC+VxHFdFgoBivRqz6C2gF7A7FEUf1AiA+wDw+ZuyTsSukTt/rKVjMeKU0DSihSL2JsDAMwZm5qQ=="}],"size":2277,"noattachment":false,"key":"/resolve-glob/-/resolve-glob-0.1.0.tgz"},"directories":{},"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._","publish_time":1443768837432,"_cnpm_publish_time":1443768837432,"dist-tags":{"latest":"1.0.0"}}