{"_id":"find-rc","_rev":"300099","name":"find-rc","description":"Find a .rc file given a name","dist-tags":{"latest":"4.0.1"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"time":{"modified":"2021-06-03T19:04:44.000Z","created":"2016-06-04T01:56:36.918Z","4.0.1":"2020-04-15T18:31:23.422Z","4.0.0":"2019-01-27T20:49:48.160Z","3.0.1":"2016-06-15T14:46:25.338Z","3.0.0":"2016-06-13T14:44:33.677Z","2.0.0":"2016-06-04T20:31:03.286Z","1.1.2":"2016-06-04T03:37:22.123Z","1.1.1":"2016-06-04T03:29:50.406Z","1.1.0":"2016-06-04T03:22:30.719Z","1.0.0":"2016-06-04T01:56:36.918Z"},"users":{},"author":"","repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"versions":{"4.0.1":{"name":"find-rc","version":"4.0.1","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"5.x.x","@hapi/code":"8.x.x","@hapi/lab":"22.x.x"},"gitHead":"7312f2ee26ea3fe64c57f58db5f3509d5624d89f","_id":"find-rc@4.0.1","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"e183b854f9cbf1349aa1748e3aaa80309f5966dd","size":2645,"noattachment":false,"key":"/find-rc/-/find-rc-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-4.0.1.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-rc_4.0.1_1586975483309_0.07943986633387379"},"_hasShrinkwrap":false,"publish_time":1586975483422,"_cnpm_publish_time":1586975483422},"4.0.0":{"name":"find-rc","version":"4.0.0","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"5.x.x","code":"5.x.x","lab":"18.x.x"},"gitHead":"be4647a4afe770b92e4de67b285e6248bd617c8b","_id":"find-rc@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"99e43c5a0c75e9d3887d21ecb31ef74923572aa3","size":2792,"noattachment":false,"key":"/find-rc/-/find-rc-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-4.0.0.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-rc_4.0.0_1548622188047_0.48298452559986016"},"_hasShrinkwrap":false,"publish_time":1548622188160,"_cnpm_publish_time":1548622188160},"3.0.1":{"name":"find-rc","version":"3.0.1","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"^2.0.1","code":"^3.0.0","lab":"^10.7.1"},"gitHead":"2d5795fbe1c6fc42fd00edaf99634185fddf3012","_id":"find-rc@3.0.1","_shasum":"54a4178370f10bc9371fa8d1b2c2809a2afa0cce","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"54a4178370f10bc9371fa8d1b2c2809a2afa0cce","size":2954,"noattachment":false,"key":"/find-rc/-/find-rc-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-3.0.1.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-rc-3.0.1.tgz_1466001981725_0.035464974120259285"},"directories":{},"publish_time":1466001985338,"_cnpm_publish_time":1466001985338,"_hasShrinkwrap":false},"3.0.0":{"name":"find-rc","version":"3.0.0","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"^2.0.1","code":"^3.0.0","lab":"^10.7.1"},"gitHead":"8717957ca32ad23fa058ba18ccd595bcd3028e1c","_id":"find-rc@3.0.0","_shasum":"7c57e772225f5bf905dbdbc501d9110dd9081950","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"7c57e772225f5bf905dbdbc501d9110dd9081950","size":2931,"noattachment":false,"key":"/find-rc/-/find-rc-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-3.0.0.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/find-rc-3.0.0.tgz_1465829071142_0.06881432048976421"},"directories":{},"publish_time":1465829073677,"_cnpm_publish_time":1465829073677,"_hasShrinkwrap":false},"2.0.0":{"name":"find-rc","version":"2.0.0","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"^2.0.1","code":"^3.0.0","lab":"^10.7.1"},"gitHead":"79191c4faf363d1b0bdba59add91cd348c12f6be","_id":"find-rc@2.0.0","_shasum":"e988efc78fe6b77cc7236cdd1bb5fcc622d66ba3","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e988efc78fe6b77cc7236cdd1bb5fcc622d66ba3","size":2907,"noattachment":false,"key":"/find-rc/-/find-rc-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-2.0.0.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/find-rc-2.0.0.tgz_1465072260695_0.2716549320612103"},"directories":{},"publish_time":1465072263286,"_cnpm_publish_time":1465072263286,"_hasShrinkwrap":false},"1.1.2":{"name":"find-rc","version":"1.1.2","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"lint":"belly-button","pretest":"npm run lint","test":"lab -c"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"belly-button":"^2.0.1","code":"^3.0.0","lab":"^10.7.1"},"gitHead":"a0d762cd07a5af54cddbb40988fea69997a6ac66","_id":"find-rc@1.1.2","_shasum":"215dc7d1a937c5941aa56ab3f8d6d15e39a763ae","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"215dc7d1a937c5941aa56ab3f8d6d15e39a763ae","size":3071,"noattachment":false,"key":"/find-rc/-/find-rc-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-1.1.2.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-rc-1.1.2.tgz_1465011440494_0.8680464779026806"},"directories":{},"publish_time":1465011442123,"_cnpm_publish_time":1465011442123,"_hasShrinkwrap":false},"1.1.1":{"name":"find-rc","version":"1.1.1","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"test":"lab -t 80"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"code":"^3.0.0","lab":"^10.7.1"},"gitHead":"62a6e2fcc7950b8c028d807bfc096fb578a5d8d6","_id":"find-rc@1.1.1","_shasum":"caf908f5afa1f64e91fbad11da0b433ec77de334","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"caf908f5afa1f64e91fbad11da0b433ec77de334","size":3046,"noattachment":false,"key":"/find-rc/-/find-rc-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-1.1.1.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-rc-1.1.1.tgz_1465010988900_0.721931334817782"},"directories":{},"publish_time":1465010990406,"_cnpm_publish_time":1465010990406,"_hasShrinkwrap":false},"1.1.0":{"name":"find-rc","version":"1.1.0","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"test":"lab -t 80"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"code":"^3.0.0","lab":"^10.7.1"},"gitHead":"7b43e805e2723c21fce54926d1d2b62f4f57528c","_id":"find-rc@1.1.0","_shasum":"201c76d6d686c403aa1f5b8968b5ec20d834c8ee","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"201c76d6d686c403aa1f5b8968b5ec20d834c8ee","size":2913,"noattachment":false,"key":"/find-rc/-/find-rc-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-1.1.0.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/find-rc-1.1.0.tgz_1465010548222_0.42563905101269484"},"directories":{},"publish_time":1465010550719,"_cnpm_publish_time":1465010550719,"_hasShrinkwrap":false},"1.0.0":{"name":"find-rc","version":"1.0.0","description":"Find a .rc file given a name","main":"lib/index.js","scripts":{"test":"lab -t 80"},"repository":{"type":"git","url":"git+https://github.com/geek/find-rc.git"},"keywords":[],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/geek/find-rc/issues"},"homepage":"https://github.com/geek/find-rc#readme","devDependencies":{"code":"^3.0.0","lab":"^10.7.1"},"gitHead":"d233a42a6de2ee433dbca784bbf0e02ec235f6b2","_id":"find-rc@1.0.0","_shasum":"e5f071fa8b6636ed4f9aa8d05d451066ce99fe4f","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e5f071fa8b6636ed4f9aa8d05d451066ce99fe4f","size":2313,"noattachment":false,"key":"/find-rc/-/find-rc-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-rc/download/find-rc-1.0.0.tgz"},"maintainers":[{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/find-rc-1.0.0.tgz_1465005395317_0.739681642735377"},"directories":{},"publish_time":1465005396918,"_cnpm_publish_time":1465005396918,"_hasShrinkwrap":false}},"readme":"# `npm install find-rc`\n\nFind a `rc` file given a name.  Inspiration from [rc](https://github.com/dominictarr/rc).\n\n[![Build Status](https://secure.travis-ci.org/geek/find-rc.svg)](http://travis-ci.org/geek/find-rc)\n\nThe rc file is assumed to be written in JavaScript, therefore the filename must\nbe `.${app}rc.js`.  If your app is named 'lab' then the rc file must be named\n`.labrc.js`.\n\nHere is the order that folders will be searched:\n\n1. Current directory\n2. Parent of current directory, until the root folder is encountered\n3. $HOME/.${app}rc.js\n4. $HOME/.config/.${app}rc.js\n\n\n### `(appname, [startDir])`\n\n- `appname` - name of file you are looking for.  Example: `lab`.  It will be formatted as `.{appname}rc.js`\n- `startDir` - (optional) directory to start looking for the file.  Defaults to `process.cwd`\n\nExample\n\n```js\nconst FindRc = require('find-rc');\n\nconst filePath = FindRc('lab');\nif (filePath) {\n  // load file and parse configuration\n  const rc = require(filePath);\n}\n```\n","_attachments":{},"homepage":"https://github.com/geek/find-rc#readme","bugs":{"url":"https://github.com/geek/find-rc/issues"},"license":"BSD-3-Clause"}