{"_id":"path2glob","_rev":"10-e81948a09649cc5a230c7870d225ea44","name":"path2glob","description":"Get best matching glob from globs array for given path","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"path2glob","version":"0.0.1","description":"Get best matching glob from globs array for given path","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha -R spec -t 100"},"repository":{"type":"git","url":"git://github.com/floatdrop/path2glob.git"},"keywords":["glob","path"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/path2glob/issues"},"homepage":"https://github.com/floatdrop/path2glob","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"glob":"^4.0.5"},"_id":"path2glob@0.0.1","_shasum":"8198a67adc14f651ac0b45ef0626c493964e4fd0","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"8198a67adc14f651ac0b45ef0626c493964e4fd0","tarball":"https://registry.npmjs.org/path2glob/-/path2glob-0.0.1.tgz","integrity":"sha512-ENq1YY6n9Z/yuarRKs7bghJnYsl/DEAr6jfTLEJi1iWb9wnCQa7XOsA2CVO1ATEIn+DG8kQyvCvKG+e0nzSfoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi+qs1ySnOzmzI42m1OwyWke/+sL/2MRghR2LQH8ZTbwIgGAZ9Pl37p+vZ1LZV0ZYMitAtYruLWzkwtNfo5pFfrQ4="}]}},"0.0.2":{"name":"path2glob","version":"0.0.2","description":"Get best matching glob from globs array for given path","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha -R spec -t 100"},"repository":{"type":"git","url":"git://github.com/floatdrop/path2glob.git"},"keywords":["glob","path"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/path2glob/issues"},"homepage":"https://github.com/floatdrop/path2glob","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"glob":"^4.0.5"},"_id":"path2glob@0.0.2","_shasum":"29e8ce0d15407c2a50b633ef8050b2f297c04702","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"29e8ce0d15407c2a50b633ef8050b2f297c04702","tarball":"https://registry.npmjs.org/path2glob/-/path2glob-0.0.2.tgz","integrity":"sha512-1n8uKROrc5hbpYzxNGlLMQa4tf43g2yVoUVTfu5AoiqN5j6pgNnnRNmWh+E0LNmImIGCWsnlpXwhp7m2SoGlqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEVwfKG1bhxxlIOiwZ20psgCEd05frwEJ0Dbr7C9523QIhAK+zO8lubZKrmMBEOVOq0QFY4CLM4UAREFJ0KvBSDpmj"}]}}},"readme":"# path2glob\n\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\n\nGet best matching glob from globs array for given path.\n\n> __Tip__: negatives will be filtered\n\n## Usage\n\n```js\nvar path2glob = require('path2glob');\n\nvar globs = [\n    './libs/**/*.js',\n    './libs/src/**/*.js',\n];\n\nconsole.log(path2glob('/User/someone/libs/bird/word.js', globs)); // './libs/**/*.js'\nconsole.log(path2glob('/User/someone/libs/src/word.js', globs)); // './libs/src/**/*.js'\n```\n\n## API\n\n### path2glob(path, globs, [opts])\n\nReturns best matching glob from `globs` array.\n\n## License\n\nMIT (c) 2014 Vsevolod Strukchinsky\n\n[npm-url]: https://npmjs.org/package/path2glob\n[npm-image]: http://img.shields.io/npm/v/path2glob.svg?style=flat\n\n[travis-url]: http://travis-ci.org/floatdrop/path2glob\n[travis-image]: http://img.shields.io/travis/floatdrop/path2glob.svg?branch=master&style=flat\n\n[depstat-url]: https://david-dm.org/floatdrop/path2glob\n[depstat-image]: http://img.shields.io/david/floatdrop/path2glob.svg?style=flat\n","maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"time":{"modified":"2022-06-23T14:46:13.803Z","created":"2014-09-05T10:27:24.069Z","0.0.1":"2014-09-05T10:27:24.069Z","0.0.2":"2014-09-05T15:55:13.720Z"},"homepage":"https://github.com/floatdrop/path2glob","keywords":["glob","path"],"repository":{"type":"git","url":"git://github.com/floatdrop/path2glob.git"},"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"bugs":{"url":"https://github.com/floatdrop/path2glob/issues"},"license":"MIT","readmeFilename":"readme.md"}