{"_id":"fs-find-root","_rev":"7-4e93587ee25c2a6ea93a0e622a9f5c92","name":"fs-find-root","description":"search up directories","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.0":{"name":"fs-find-root","version":"0.0.0","description":"search up directories","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/jarofghosts/fs-find-root.git"},"keywords":["search","file","fs","up","root"],"author":{"name":"jesse keane"},"license":"MIT","bugs":{"url":"https://github.com/jarofghosts/fs-find-root/issues"},"homepage":"https://github.com/jarofghosts/fs-find-root","_id":"fs-find-root@0.0.0","dist":{"shasum":"dd8dfce3b7abd40f8670b982f62f3cafbee08ce1","tarball":"https://registry.npmjs.org/fs-find-root/-/fs-find-root-0.0.0.tgz","integrity":"sha512-M5stuKcEe4yWZiULrSJ6XoweggEAF9SL3X5jTW7CpKbs30+z0cGw3GJiHCpwTRCVjBAxzIDsjX+XwOI6u0fA/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFir+P/BcktfcvLDM4V762pSapSPC/RHW/fC7jJAIKJoAiEA4wZxS7PpUgZ3xyTm7B8P+s4ZvFLaAu+/u1dveQjwxYk="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jarofghosts","email":"me@jessekeane.me"},"maintainers":[{"name":"jarofghosts","email":"me@jessekeane.me"}]},"1.0.1":{"name":"fs-find-root","version":"1.0.1","description":"search up directories","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/jarofghosts/fs-find-root.git"},"keywords":["search","file","fs","up","root"],"author":{"name":"jesse keane"},"license":"MIT","bugs":{"url":"https://github.com/jarofghosts/fs-find-root/issues"},"homepage":"https://github.com/jarofghosts/fs-find-root","_id":"fs-find-root@1.0.1","dist":{"shasum":"2a2ba48e4945ee319229d13530f2050f1177116b","tarball":"https://registry.npmjs.org/fs-find-root/-/fs-find-root-1.0.1.tgz","integrity":"sha512-B/hUMaU7myLWjR+3zeRbTxHJkjVJqwBjEmeYtOVTHvm89iStuOD89knxnhBO/e8UMwiapF6kY0OKCTec6VKjOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF55Wn/us0cJdAO1ogVxSofgxeC4SzQhPSO56OaEa8FCAiEAvauAW/mYkoSXnSpDYanstAmem9WGcaytXPAFbR6bUFQ="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jarofghosts","email":"me@jessekeane.me"},"maintainers":[{"name":"jarofghosts","email":"me@jessekeane.me"}]},"1.0.2":{"name":"fs-find-root","version":"1.0.2","description":"search up directories","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/jarofghosts/fs-find-root.git"},"keywords":["search","file","fs","up","root"],"author":{"name":"jesse keane"},"license":"MIT","bugs":{"url":"https://github.com/jarofghosts/fs-find-root/issues"},"homepage":"https://github.com/jarofghosts/fs-find-root","devDependencies":{"tape":"^2.13.3"},"gitHead":"a2dabeafb71c87c227b7c1838f314835b93fb3f6","_id":"fs-find-root@1.0.2","_shasum":"efde90061fc13d7097e68686fccebe10c7f6837b","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"jarofghosts","email":"me@jessekeane.me"},"maintainers":[{"name":"jarofghosts","email":"me@jessekeane.me"}],"dist":{"shasum":"efde90061fc13d7097e68686fccebe10c7f6837b","tarball":"https://registry.npmjs.org/fs-find-root/-/fs-find-root-1.0.2.tgz","integrity":"sha512-28y2SMLYanf6h1ObRN7ErCtLyAU65eo1fLKpIA64jJ6Akl2qCIENf/LXWS74YI00V80AwKiNfeOV1aZcg/+zEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAC36QccuZ1ubYEJVZNlI4r4SojR35awIkjJA2TaFe3vAiB2jBwScBjjGTv9cDpHhausXciln8k+yAadcXk9GHWFMQ=="}]}},"2.0.0":{"name":"fs-find-root","version":"2.0.0","description":"search up directories","main":"index.js","directories":{"test":"test"},"scripts":{"lint":"standard index.js test/index.js","test":"node test/index.js && npm run lint"},"repository":{"type":"git","url":"git://github.com/jarofghosts/fs-find-root.git"},"keywords":["search","file","fs","up","root"],"author":{"name":"jesse keane"},"license":"MIT","bugs":{"url":"https://github.com/jarofghosts/fs-find-root/issues"},"homepage":"https://github.com/jarofghosts/fs-find-root","devDependencies":{"standard":"^5.3.1","tape":"^4.2.2"},"dependencies":{"es6-promise":"^3.0.2"},"gitHead":"01a7dc81b8a877a40942aa108d3867e9ab76dbdd","_id":"fs-find-root@2.0.0","_shasum":"71c23b384db6bcb1e8ec637cade707fda39c593b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jarofghosts","email":"me@jessekeane.me"},"maintainers":[{"name":"jarofghosts","email":"me@jessekeane.me"}],"dist":{"shasum":"71c23b384db6bcb1e8ec637cade707fda39c593b","tarball":"https://registry.npmjs.org/fs-find-root/-/fs-find-root-2.0.0.tgz","integrity":"sha512-LmgsxDwnxd+sfm3EZ66P8nSlUMm69hKz/LdXKChK2a+5xXnrAB7MPn2uo0VCyrgj8lZNqyj6EIdD516ILZAEBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbgTat2xysltsj6+d0UXIY0UYQYKm6tnjfprCVLIvV4AiEA8UQ9mgZKMvFZzF700qXfpFFZq4dxbOrvfCZDiPdp0Wg="}]}}},"readme":"# fs-find-root\n\n[![Build Status](https://img.shields.io/travis/jarofghosts/fs-find-root.svg?style=flat-square)](https://travis-ci.org/jarofghosts/fs-find-root)\n[![npm install](https://img.shields.io/npm/dm/fs-find-root.svg?style=flat-square)](https://www.npmjs.org/package/fs-find-root)\n[![npm version](https://img.shields.io/npm/v/fs-find-root.svg?style=flat-square)](https://www.npmjs.org/package/fs-find-root)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)\n[![License](https://img.shields.io/npm/l/fs-find-root.svg?style=flat-square)](https://github.com/jarofghosts/fs-find-root/blob/master/LICENSE)\n\nsearch up directories until you find what you're looking for\n\n## usage\n\n`var find = require('fs-find-root')`\n\n* `find('dir', name, startingDirectory)` searches for directory\n  `name` starting from `startDirectory` and returns a promise.\n* `find.dir(name, startingDirectory)` is equivalent to the above.\n* `find('file', name, startingDirectory)` searches for file `name`\n  starting from `startDirectory` and returns a promise.\n* `find.file(name, startingDirectory)` is equivalent to the above.\n\n## example\n\n```js\nvar find = require('fs-find-root')\n\n// find a directory!\nfind.dir('.git', process.cwd())\n  .then(function (found) {\n    console.log('found the root of your git repo @ ' + found)\n  })\n\n// find a file!\nfind.file('package.json', process.cwd())\n  .then(function (found) {\n    console.log('found yer package.json right here: ' + found)\n  })\n```\n\n## notes\n\n* resolves with `null` if the file or directory is not found.\n\n## license\n\nMIT\n","maintainers":[{"name":"jarofghosts","email":"me@jessekeane.me"}],"time":{"modified":"2022-06-18T03:52:56.828Z","created":"2014-01-30T04:52:17.894Z","0.0.0":"2014-01-30T04:52:17.894Z","1.0.1":"2014-02-03T05:21:16.534Z","1.0.2":"2014-07-12T02:02:54.721Z","2.0.0":"2015-11-13T03:30:34.753Z"},"readmeFilename":"README.md","homepage":"https://github.com/jarofghosts/fs-find-root","keywords":["search","file","fs","up","root"],"repository":{"type":"git","url":"git://github.com/jarofghosts/fs-find-root.git"},"author":{"name":"jesse keane"},"bugs":{"url":"https://github.com/jarofghosts/fs-find-root/issues"},"license":"MIT"}