{"name":"findup-sync","version":"4.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":"https://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":">= 8"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only","azure-pipelines":"nyc mocha --async-only --reporter xunit -O output=test.xunit","coveralls":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{"detect-file":"^1.0.0","is-glob":"^4.0.0","micromatch":"^4.0.2","resolve-dir":"^1.0.1"},"devDependencies":{"coveralls":"github:phated/node-coveralls#2.x","eslint":"^6.0.1","eslint-config-gulp":"^3.0.1","expect":"^1.20.2","homedir-polyfill":"^1.0.1","mocha":"^6.1.4","normalize-path":"^3.0.0","nyc":"^14.1.1","resolve":"^1.4.0"},"keywords":["file","find","find-up","findup","glob","match","pattern","resolve","search"],"gitHead":"9e523f59674e4b399b89cd3e0be8950666c99af4","bugs":{"url":"https://github.com/gulpjs/findup-sync/issues"},"homepage":"https://github.com/gulpjs/findup-sync#readme","_id":"findup-sync@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"integrity":"sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==","shasum":"956c9cdde804052b881b428512905c4a5f2cdef0","tarball":"http://registry-npm.ywwl.com/findup-sync/download/findup-sync-4.0.0.tgz","fileCount":4,"unpackedSize":7115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKnW4CRA9TVsSAnZWagAA6ogP/AsEC0slwpLVLD2znYrc\nzq33Lw+n/UDLfg+W4+H1eCuLHCIx50YzIpv21l4W5gBaT9U5OSOIP3PR9KLv\nh1v9vgdp4LgN65NfEqufzmyc/JD3qjgVMIscj2i7DZJW+AcHD53mAjV/TDcS\nbnkeFnM0GFvdTGIKUmYQuLKkPH5rKLc64PR07pjA7Yk+7n3fig1wFbfmuQVe\n/4gEEtNPN8r7ni/lS1K9pJKftiBaI7oUV4oJNwRS0IHnO9eCJMMbIzhwVDAa\nX6zp7c+3gRKa0P/8Zb+BtMu66g31ax1HWVcUB9dz9a3ux7qO0Bx0RoBKW4/U\nPdfREeaEZxaV8M2TKbO/ZjcydAk2kxuNw7ysHU75btxndF4oRTbOJL+agloC\nS62d0ha53oQxCvV86N+PTvbZC/ZNdNF3kxYIFl4zmj2DnEMPMQphquyPB///\nDO9ritWT/EawMG//NWXE+3wSbRTshly2n6qO1Iwo4vfZW5cw6E9vE5Kigrr0\nlygnBqLBlLAJiLwS+inYdwhgzrPRv/IrGIkQXhDuhhQ/4Imk7FcD8/4HpJpv\n3mpGKdWbD3WHoSoVadJ2iJi0ms2/EQ7Ku1qGDPlSlDs+nMPbv+VtJ2PZ1KTL\nyq1hY+qcJ37+5OjDwfB0PSWKVVQFtBGFh97jer25dbLqqPaNBvYc/NaBXMrc\nnatT\r\n=syXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+KhqYeRKScMdRGsS+bk8D8YQCEcS/jB28uyQS4ztx7AiEA8dvH/3v9ljcfg20EjywYBhfQtGld/y/tz+B6pUP1+DA="}],"size":3078,"noattachment":false,"key":"/findup-sync/-/findup-sync-4.0.0.tgz"},"maintainers":[{"email":"yo@contra.io","name":"contra"},{"email":"cowboy@rj3.net","name":"cowboy"},{"email":"github@sellside.com","name":"jonschlinkert"},{"email":"blaine.bublitz@gmail.com","name":"phated"},{"email":"sttk.xslet@gmail.com","name":"sttk"},{"email":"tyler@sleekcode.net","name":"tkellen"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/findup-sync_4.0.0_1563063735804_0.6582747326017779"},"_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":1563063735945,"_cnpm_publish_time":1563063735945,"dist-tags":{"latest":"5.0.0"}}