{"_id":"find-file","_rev":"87167","name":"find-file","description":"Search for a file in an array of paths","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:28:20.000Z","created":"2014-02-05T14:35:28.838Z","1.0.1":"2014-09-02T02:03:14.683Z","1.0.0":"2014-09-01T23:24:15.120Z","0.1.4":"2014-03-27T08:28:41.745Z","0.1.3":"2014-03-27T07:53:33.104Z","0.1.2":"2014-03-05T08:06:17.493Z","0.1.1":"2014-02-24T13:48:33.443Z","0.1.0":"2014-02-05T14:35:28.838Z"},"users":{"adamlu":true,"philipphoh":true},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"repository":{"type":"git","url":"https://github.com/kevva/find-file"},"versions":{"1.0.1":{"name":"find-file","version":"1.0.1","description":"Search for a file in an array of paths","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/find-file"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["find","file","path","search"],"dependencies":{"each-async":"^1.0.0","stat-mode":"^0.2.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"e0dc5ed632da5d26ffdc8683cb81f420a35aee1f","bugs":{"url":"https://github.com/kevva/find-file/issues"},"homepage":"https://github.com/kevva/find-file","_id":"find-file@1.0.1","_shasum":"285516c1c14e0aca871480097d060feb4e3a46ac","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"285516c1c14e0aca871480097d060feb4e3a46ac","size":1442,"noattachment":false,"key":"/find-file/-/find-file-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-1.0.1.tgz"},"directories":{},"publish_time":1409623394683,"_cnpm_publish_time":1409623394683,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"1.0.0":{"name":"find-file","version":"1.0.0","description":"Search for a file in an array of paths","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/find-file"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["find","file","path","search"],"dependencies":{"each-async":"^1.0.0","stat-mode":"^0.2.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"a4f1ff47818527df30b67654fe9e0f6f1f57fb21","bugs":{"url":"https://github.com/kevva/find-file/issues"},"homepage":"https://github.com/kevva/find-file","_id":"find-file@1.0.0","_shasum":"2ee67d60732427f5af878ab5efaf53c62594da88","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"2ee67d60732427f5af878ab5efaf53c62594da88","size":1424,"noattachment":false,"key":"/find-file/-/find-file-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-1.0.0.tgz"},"directories":{},"publish_time":1409613855120,"_cnpm_publish_time":1409613855120,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"0.1.4":{"name":"find-file","version":"0.1.4","description":"Search for a file in an array of paths","keywords":["find","file","path","search"],"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/find-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"find-file@0.1.4","dist":{"shasum":"f806bb8132a8265232bf1c9ef95ba0746511d871","size":1339,"noattachment":false,"key":"/find-file/-/find-file-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-0.1.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1395908921745,"_cnpm_publish_time":1395908921745,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"0.1.3":{"name":"find-file","version":"0.1.3","description":"Search for a file in an array of paths","keywords":["find","file","path","search"],"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/find-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"find-file@0.1.3","dist":{"shasum":"080756195009071654e28d51189cb186cc2a5392","size":1309,"noattachment":false,"key":"/find-file/-/find-file-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-0.1.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1395906813104,"_cnpm_publish_time":1395906813104,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"0.1.2":{"name":"find-file","version":"0.1.2","description":"Search for a file in an array of paths","keywords":["find","file","path","search"],"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/find-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"find-file@0.1.2","dist":{"shasum":"8914d8e33956e08caf3a16f002bb6c661d8f990c","size":1194,"noattachment":false,"key":"/find-file/-/find-file-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1394006777493,"_cnpm_publish_time":1394006777493,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"0.1.1":{"name":"find-file","version":"0.1.1","description":"Search for a file in an array of paths","keywords":["find","file","path","search"],"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/find-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"find-file@0.1.1","dist":{"shasum":"73fa515604b79033787d3fd7ec0dd291e45d5e20","size":1215,"noattachment":false,"key":"/find-file/-/find-file-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1393249713443,"_cnpm_publish_time":1393249713443,"deprecated":"Use the globby package instead","_hasShrinkwrap":false},"0.1.0":{"name":"find-file","version":"0.1.0","description":"Search for a file in an array of paths","keywords":["find","file","path","search"],"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/find-file.git"},"scripts":{"test":"mocha --reporter list"},"main":"index.js","files":["index.js"],"devDependencies":{"mocha":"~1.17.0"},"engines":{"node":">=0.10.0"},"_id":"find-file@0.1.0","dist":{"shasum":"aa9c0f9bf179743a31def9e7bb3b1068ff9acf7a","size":1215,"noattachment":false,"key":"/find-file/-/find-file-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-file/download/find-file-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1391610928838,"_cnpm_publish_time":1391610928838,"deprecated":"Use the globby package instead","_hasShrinkwrap":false}},"readme":"# find-file [![Build Status](https://travis-ci.org/kevva/find-file.svg?branch=master)](https://travis-ci.org/kevva/find-file)\n\n> Search for a file in an array of paths\n\n## Install\n\n```bash\n$ npm install --save find-file\n```\n\n## Usage\n\n```js\nvar Find = require('find-file');\n\nvar find = new Find()\n    .name('foo.jpg')\n    .where(['./images', './media']);\n\nfind.run(function (err, files) {\n    if (err) {\n        throw err;\n    }\n\n    console.log(files);\n    //=> [{ path: 'images/foo.jpg', name: 'foo.jpg', ...}]\n});\n```\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/find-file","bugs":{"url":"https://github.com/kevva/find-file/issues"},"license":"MIT"}