{"name":"findup-sync","version":"3.0.0","description":"Find the first file matching a given pattern in the current directory or the nearest ancestor directory.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Ben Alman","email":"cowboy@rj3.net"},{"name":"Tyler Kellen","email":"tyler@sleekcode.net"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/findup-sync.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha --async-only","cover":"istanbul cover _mocha --report lcovonly","coveralls":"npm run cover && istanbul-coveralls"},"dependencies":{"detect-file":"^1.0.0","is-glob":"^4.0.0","micromatch":"^3.0.4","resolve-dir":"^1.0.1"},"devDependencies":{"eslint":"^2.13.0","eslint-config-gulp":"^3.0.1","expect":"^1.20.2","homedir-polyfill":"^1.0.1","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","mocha":"^3.5.3","normalize-path":"^3.0.0","resolve":"^1.4.0"},"keywords":["file","find","find-up","findup","glob","match","pattern","resolve","search"],"gitHead":"15a8d32f60e14abdfcc73f712ce2019259ec520d","bugs":{"url":"https://github.com/gulpjs/findup-sync/issues"},"homepage":"https://github.com/gulpjs/findup-sync#readme","_id":"findup-sync@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"integrity":"sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==","shasum":"17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1","tarball":"http://registry-npm.ywwl.com/findup-sync/download/findup-sync-3.0.0.tgz","fileCount":4,"unpackedSize":6768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJrQTCRA9TVsSAnZWagAAZfgQAI/DPAnG2R1UpIssKESm\nXBhDkhvfnADeNmfTZ3acOY+Eo98Yfb6D5NXlG/5SCKzRcncjOE3eHdGSlfSQ\nwkhtFFuzLUIAgUlsfXeDN2vDRShE+1/gcys8O7O1sk4m5JrRPBdEuaUHwxxm\nirz69TBk3WGJLEGGqRYLlm/OciGlFZ2pE6yOY42aeRZRfqSOqjqpfSnJ/rgN\nxtRmKNLQdC+2m/68vxiXu06gXugOvNqMVJgtDHKzpKRf0ZY+K0AwI1pScifO\nG2a+1anKIGYgKiALUJRVXR8EDKptCAKcv9CLjJCfJnectkNPsHiU8+xT6XKH\nU6T4+L2WKNzDr5IjbzePZPzclyawxOmieFd0r8MGOierNBoPHIcCqApjPbeO\nLm6WHxbopMYR4FdI3sMGNrAP9MwE70btjtCWJF+NbLlH4tVDy0qIdoA3EYDT\nPsHef+IDXe9yQ9+TIyJdzTrP9kVvAVGSkwj+ZXmb1zRzm8MyPKT+MMIhPzsQ\n+bx8+flHaqMaxPOczkiWEUOQVNGo/T9dJURvRcu9OCU/+1run4Py2WJ/TDhB\nl418xC+CsfHeVMKaZLN/M/4l0Cyq0e8zdOHIKW9GTt2r0PuprJlBg1euB/+a\nT9n2J1t4xQpESIcgsXbSYuwq6e96SE+IUT+2MKbw1tbNXkhG7GgsnxO6g+TM\nThe0\r\n=XV5M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7Aq6HGurXTltNlEUhRELX31GpOq51xvZ82v2FtWWJ0gIhAK3dZu2NcchFbCbg28tMWhNSB3QAh+dhoYwuDSWSv+IW"}],"size":2984,"noattachment":false,"key":"/findup-sync/-/findup-sync-3.0.0.tgz"},"maintainers":[{"name":"cowboy","email":"cowboy@rj3.net"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/findup-sync_3.0.0_1546040338521_0.6379784359946397"},"_hasShrinkwrap":false,"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# findup-sync\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nFind the first file matching a given pattern in the current directory or the nearest ancestor directory.\n\nMatching is done with [micromatch][micromatch], please report any matching related issues on that repository.\n\n## Usage\n\n```js\nvar findup = require('findup-sync');\nfindup(patternOrPatterns [, micromatchOptions]);\n\n// Start looking in the CWD.\nvar filepath1 = findup('{a,b}*.txt');\n\n// Start looking somewhere else, and ignore case (probably a good idea).\nvar filepath2 = findup('{a,b}*.txt', {cwd: '/some/path', nocase: true});\n```\n\n## API\n\n### `findup(patterns, [options])`\n\n- `patterns` **{String|Array}**: Glob pattern(s) or file path(s) to match against.\n- `options` **{Object}**: Options to pass to [micromatch]. Note that if you want to start in a different directory than the current working directory, specify a `cwd` property here.\n- `returns` **{String}**: Returns the first matching file.\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n\n[downloads-image]: https://img.shields.io/npm/dm/findup-sync.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/findup-sync\n[npm-image]: https://img.shields.io/npm/v/findup-sync.svg?style=flat-square\n[ci-url]: https://github.com/gulpjs/findup-sync/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/findup-sync/dev?style=flat-square\n[coveralls-url]: https://coveralls.io/r/gulpjs/findup-sync\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/findup-sync/master.svg\n\n<!-- prettier-ignore-nd -->\n\n<!-- prettier-ignore-start -->\n\n[micromatch]: http://github.com/micromatch/micromatch\n\n<!-- prettier-ignore-nd -->\n","publish_time":1546040338640,"_cnpm_publish_time":1546040338640,"dist-tags":{"latest":"5.0.0"}}