{"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"keywords":["load","configuration","config"],"dist-tags":{"latest":"2.1.2"},"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"description":"Find and load configuration from a package.json property, rc file, or CommonJS module","readme":"# cosmiconfig\n\n[![Build Status](https://img.shields.io/travis/davidtheclark/cosmiconfig/master.svg?label=unix%20build)](https://travis-ci.org/davidtheclark/cosmiconfig) [![Build status](https://img.shields.io/appveyor/ci/davidtheclark/cosmiconfig/master.svg?label=windows%20build)](https://ci.appveyor.com/project/davidtheclark/cosmiconfig/branch/master)\n\nFind and load a configuration object from\n- a `package.json` property (anywhere down the file tree)\n- a JSON or YAML \"rc file\" (anywhere down the file tree)\n- a `.config.js` CommonJS module (anywhere down the file tree)\n- a CLI `--config` argument\n\nFor example, if your module's name is \"soursocks,\" cosmiconfig will search out configuration in the following places:\n- a `soursocks` property in `package.json` (anywhere down the file tree)\n- a `.soursocksrc` file in JSON or YAML format (anywhere down the file tree)\n- a `soursocks.config.js` file exporting a JS object (anywhere down the file tree)\n- a CLI `--config` argument\n\ncosmiconfig continues to search in these places all the way down the file tree until it finds acceptable configuration (or hits the home directory). And it does all this asynchronously, so it shouldn't get in your way.\n\nAdditionally, all of these search locations are configurable: you can customize filenames or turn off any location.\n\nYou can also look for rc files with extensions, e.g. `.soursocksrc.json` or `.soursocksrc.yaml`.\nYou may like extensions on your rc files because you'll get syntax highlighting and linting in text editors.\n\n## Installation\n\n```\nnpm install cosmiconfig\n```\n\nTested in Node 0.12+.\n\n## Usage\n\n```js\nvar cosmiconfig = require('cosmiconfig');\n\nvar explorer = cosmiconfig(yourModuleName[, options]);\n\nexplorer.load(yourSearchPath)\n  .then((result) => {\n    // result.config is the parsed configuration object\n    // result.filepath is the path to the config file that was found\n  })\n  .catch((parsingError) => {\n    // do something constructive\n  });\n```\n\nThe function `cosmiconfig()` searches for a configuration object and returns a Promise,\nwhich resolves with an object containing the information you're looking for.\n\nSo let's say `var yourModuleName = 'goldengrahams'` — here's how cosmiconfig will work:\n\n- Starting from `process.cwd()` (or some other directory defined by the `searchPath` argument to `load()`), it looks for configuration objects in three places, in this order:\n  1. A `goldengrahams` property in a `package.json` file (or some other property defined by `options.packageProp`);\n  2. A `.goldengrahamsrc` file with JSON or YAML syntax (or some other filename defined by `options.rc`);\n  3. A `goldengrahams.config.js` JS file exporting the object (or some other filename defined by `options.js`).\n- If none of those searches reveal a configuration object, it moves down one directory and tries again. So the search continues in `./`, `../`, `../../`, `../../../`, etc., checking those three locations in each directory.\n- It continues searching until it arrives at your home directory (or some other directory defined by `options.stopDir`).\n- If at any point a parseable configuration is found, the `cosmiconfig()` Promise resolves with its result object.\n- If no configuration object is found, the `cosmiconfig()` Promise resolves with `null`.\n- If a configuration object is found *but is malformed* (causing a parsing error), the `cosmiconfig()` Promise rejects and shares that error (so you should `.catch()` it).\n\nAll this searching can be short-circuited by passing `options.configPath` or a `--config` CLI argument to specify a file.\ncosmiconfig will read that file and try parsing it as JSON, YAML, or JS.\n\n## Caching\n\nAs of v2, cosmiconfig uses a few caches to reduce the need for repetitious reading of the filesystem. Every new cosmiconfig instance (created with `cosmiconfig()`) has its own caches.\n\nTo avoid or work around caching, you can\n- create separate instances of cosmiconfig, or\n- set `cache: false` in your options.\n- use the cache clearing methods documented below.\n\n## API\n\n### `var explorer = cosmiconfig(moduleName[, options])`\n\nCreates a cosmiconfig instance (i.e. explorer) configured according to the arguments, and initializes its caches.\n\n#### moduleName\n\nType: `string`\n\nYou module name. This is used to create the default filenames that cosmiconfig will look for.\n\n#### Options\n\n##### packageProp\n\nType: `string` or `false`\nDefault: `'[moduleName]'`\n\nName of the property in `package.json` to look for.\n\nIf `false`, cosmiconfig will not look in `package.json` files.\n\n##### rc\n\nType: `string` or `false`\nDefault: `'.[moduleName]rc'`\n\nName of the \"rc file\" to look for, which can be formatted as JSON or YAML.\n\nIf `false`, cosmiconfig will not look for an rc file.\n\nIf `rcExtensions: true`, the rc file can also have extensions that specify the syntax, e.g. `.[moduleName]rc.json`.\nYou may like extensions on your rc files because you'll get syntax highlighting and linting in text editors.\nAlso, with `rcExtensions: true`, you can use JS modules as rc files, e.g. `.[moduleName]rc.js`.\n\n##### js\n\nType: `string` or `false`\nDefault: `'[moduleName].config.js'`\n\nName of a JS file to look for, which must export the configuration object.\n\nIf `false`, cosmiconfig will not look for a JS file.\n\n##### argv\n\nType: `string` or `false`\nDefault: `'config'`\n\nName of a `process.argv` argument to look for, whose value should be the path to a configuration file.\ncosmiconfig will read the file and try to parse it as JSON, YAML, or JS.\nBy default, cosmiconfig looks for `--config`.\n\nIf `false`, cosmiconfig will not look for any `process.argv` arguments.\n\n##### rcStrictJson\n\nType: `boolean`\nDefault: `false`\n\nIf `true`, cosmiconfig will expect rc files to be strict JSON. No YAML permitted, and no sloppy JSON.\n\nBy default, rc files are parsed with [js-yaml](https://github.com/nodeca/js-yaml), which is\nmore permissive with punctuation than standard strict JSON.\n\n##### rcExtensions\n\nType: `boolean`\nDefault: `false`\n\nIf `true`, cosmiconfig will look for rc files with extensions, in addition to rc files without.\n\nThis adds a few steps to the search process.\nInstead of *just* looking for `.goldengrahamsrc` (no extension), it will also look for the following, in this order:\n\n- `.goldengrahamsrc.json`\n- `.goldengrahamsrc.yaml`\n- `.goldengrahamsrc.yml`\n- `.goldengrahamsrc.js`\n\n##### stopDir\n\nType: `string`\nDefault: Absolute path to your home directory\n\nDirectory where the search will stop.\n\n##### cache\n\nType: `boolean`\nDefault: `true`\n\nIf `false`, no caches will be used.\n\n##### transform\n\nType: `Function` returning a Promise\n\nA function that transforms the parsed configuration. Receives the result object with `config` and `filepath` properties, and must return a Promise that resolves with the transformed result.\n\nThe reason you might use this option instead of simply applying your transform function some other way is that *the transformed result will be cached*. If your transformation involves additional filesystem I/O or other potentially slow processing, you can use this option to avoid repeating those steps every time a given configuration is loaded.\n\n### Instance methods (on `explorer`)\n\n#### `load([searchPath, configPath])`\n\nFind and load a configuration file. Returns a Promise that resolves with `null`, if nothing is found, or an object with two properties:\n- `config`: The loaded and parsed configuration.\n- `filepath`: The filepath where this configuration was found.\n\nYou should provide *either* `searchPath` *or* `configPath`. Use `configPath` if you know the path of the configuration file you want to load. Otherwise, use `searchPath`.\n\n```js\nexplorer.load('start/search/here');\nexplorer.load('start/search/at/this/file.css');\n\nexplorer.load(null, 'load/this/file.json');\n```\n\nIf you provide `searchPath`, cosmiconfig will start its search at `searchPath` and continue to search up the file tree, as documented above.\n\nIf you provide `configPath` (i.e. you already know where the configuration is that you want to load), cosmiconfig will try to read and parse that file.\n\n#### `clearFileCache()`\n\nClears the cache used when you provide a `configPath` argument to `load`.\n\n#### `clearDirectoryCache()`\n\nClears the cache used when you provide a `searchPath` argument to `load`.\n\n#### `clearCaches()`\n\nPerforms both `clearFileCache()` and `clearDirectoryCache()`.\n\n## Differences from [rc](https://github.com/dominictarr/rc)\n\n[rc](https://github.com/dominictarr/rc) serves its focused purpose well. cosmiconfig differs in a few key ways — making it more useful for some projects, less useful for others:\n\n- Looks for configuration in some different places: in a `package.json` property, an rc file, a `.config.js` file, and rc files with extensions.\n- Built-in support for JSON, YAML, and CommonJS formats.\n- Stops at the first configuration found, instead of finding all that can be found down the filetree and merging them automatically.\n- Options.\n- Asynchronicity.\n\n## Contributing & Development\n\nPlease note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.\n\nAnd please do participate!\n","repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"users":{"3846masa":true,"danielbayley":true,"abhisekp":true,"sbruchmann":true},"bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"license":"MIT","versions":{"0.1.0":{"name":"cosmiconfig","version":"0.1.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","files":["index.js"],"dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","lodash":"^3.10.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^1.0.0","require-from-string":"^1.1.0","resolve-from":"^1.0.1"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"ea874b90ee989ab9855badc29d572d2a55944b7c","_id":"cosmiconfig@0.1.0","_shasum":"bdfbb256f714ffb2b310d35623f133139a1b6dae","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"bdfbb256f714ffb2b310d35623f133139a1b6dae","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.1.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"0.2.0":{"name":"cosmiconfig","version":"0.2.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","files":["index.js"],"dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","lodash":"^3.10.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^1.0.0","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"a087b9f0cb4973de60de85bdf19ed98cf62cfe04","_id":"cosmiconfig@0.2.0","_shasum":"2fcad200e61230077fd1e3a6495d0da95edeef1a","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"2fcad200e61230077fd1e3a6495d0da95edeef1a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.2.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"0.3.0":{"name":"cosmiconfig","version":"0.3.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","lodash":"^3.10.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^1.0.0","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"eb93fd3e83965bd9670cefd966a3b8b9d350fb4b","_id":"cosmiconfig@0.3.0","_shasum":"2c9dd2730b045817919c096071b2b61baf0d6b9e","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"2c9dd2730b045817919c096071b2b61baf0d6b9e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.3.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"0.4.0":{"name":"cosmiconfig","version":"0.4.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","lodash":"^3.10.1","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^1.0.0","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"67e4e69a2b9634057c0d9f7e2c8e301454418eeb","_id":"cosmiconfig@0.4.0","_shasum":"386c7c6691df62315b843aeb0a9c83fca0accca6","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"386c7c6691df62315b843aeb0a9c83fca0accca6","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.4.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"0.4.1":{"name":"cosmiconfig","version":"0.4.1","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^1.0.0","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"c837ff3e040a069e646ce03fe9fe6c8443d4ad3d","_id":"cosmiconfig@0.4.1","_shasum":"1a78efb42e8c4e9a1b4fa09ffaab717e6cef626a","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"1a78efb42e8c4e9a1b4fa09ffaab717e6cef626a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.4.1.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"0.5.0":{"name":"cosmiconfig","version":"0.5.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","scripts":{"lint":"eslint .","test":"npm run lint && tape test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark"},"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"defaults":"^1.0.3","graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^2.0.0","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"1.9.0","sinon":"1.17.2","tape":"4.2.2"},"gitHead":"1374fba1ce19967b06fc314b6a92ab4e2f1aa67a","_id":"cosmiconfig@0.5.0","_shasum":"9a6e8006c034e83c1b995846dcd12405c8ea6c07","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"9a6e8006c034e83c1b995846dcd12405c8ea6c07","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-0.5.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"1.0.0":{"name":"cosmiconfig","version":"1.0.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","pretest":"npm run lint","test":"ava","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"bluebird":"^3.0.5","graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.0.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"^0.5.0","eslint":"1.9.0","sinon":"1.17.2"},"gitHead":"edcd9fde279416790a3dede34c65d420cf28fbb0","_id":"cosmiconfig@1.0.0","_shasum":"132ff8b46e2bb1df735a8c3e9db1ff6ca90643a2","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"132ff8b46e2bb1df735a8c3e9db1ff6ca90643a2","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-1.0.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"1.0.1":{"name":"cosmiconfig","version":"1.0.1","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","pretest":"npm run lint","test":"ava","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.0.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^2.0.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"^0.5.0","eslint":"1.9.0","sinon":"1.17.2"},"gitHead":"38ca03025b7ee82bc4479fcffbac88027e999b4c","_id":"cosmiconfig@1.0.1","_shasum":"27995f978268fe941d8dae8924fc0c9a6b55c74f","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"27995f978268fe941d8dae8924fc0c9a6b55c74f","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-1.0.1.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"1.0.2":{"name":"cosmiconfig","version":"1.0.2","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","pretest":"npm run lint","test":"ava","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.0.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^2.0.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.9.1","eslint":"1.10.3","sinon":"1.17.2"},"gitHead":"1135486e4483208dcd0047cf6588581be9a892a4","_id":"cosmiconfig@1.0.2","_shasum":"84225dd0ae301a5ac83a4f4d6636104f7065c826","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"84225dd0ae301a5ac83a4f4d6636104f7065c826","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-1.0.2.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"1.1.0":{"name":"cosmiconfig","version":"1.1.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","pretest":"npm run lint","test":"ava","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.0.1","os-homedir":"^1.0.1","parse-json":"^2.2.0","pinkie-promise":"^2.0.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.9.1","eslint":"1.10.3","lodash":"4.0.0","sinon":"1.17.2"},"gitHead":"3bf5bef54fc18e8193a8e0b34f3cd17eb1033dea","_id":"cosmiconfig@1.1.0","_shasum":"0dea0f9804efdfb929fbb1b188e25553ea053d37","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"0dea0f9804efdfb929fbb1b188e25553ea053d37","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-1.1.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"directories":{}},"2.0.0":{"name":"cosmiconfig","version":"2.0.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","ava":"ava test/*.test.js","coverage":"nyc npm run ava && nyc report --reporter=html && open coverage/index.html","test":"npm run ava && npm run lint","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.16.0","eslint":"3.5.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^2.0.0","expect":"^1.20.2","lodash":"4.16.1","nyc":"^8.3.0","sinon":"1.17.6"},"engines":{"node":"4"},"gitHead":"31fec2c5179bc4d5494789be2b046c738c4f4fca","_id":"cosmiconfig@2.0.0","_shasum":"0a4a456b8e62de679370d86de5e17b12bf08fafb","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"0a4a456b8e62de679370d86de5e17b12bf08fafb","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.0.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.0.0.tgz_1475937068818_0.0514873587526381"},"directories":{}},"2.0.1":{"name":"cosmiconfig","version":"2.0.1","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","ava":"ava test/*.test.js","coverage":"nyc npm run ava && nyc report --reporter=html && open coverage/index.html","test":"npm run ava && npm run lint","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.16.0","eslint":"3.5.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^2.0.0","expect":"^1.20.2","lodash":"4.16.1","nyc":"^8.3.0","sinon":"1.17.6"},"engines":{"node":"4"},"gitHead":"529cb128016f3f09bc876100b3eba2d89934da6c","_id":"cosmiconfig@2.0.1","_shasum":"7bd3cb61a9f5a4a807c0a04b2905a99a6a868f23","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"7bd3cb61a9f5a4a807c0a04b2905a99a6a868f23","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.0.1.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.0.1.tgz_1476198181717_0.8488575008232147"},"directories":{}},"2.0.2":{"name":"cosmiconfig","version":"2.0.2","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","ava":"ava test/*.test.js","coverage":"nyc npm run ava && nyc report --reporter=html && open coverage/index.html","test":"npm run ava && npm run lint","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.16.0","eslint":"3.5.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^2.0.0","expect":"^1.20.2","lodash":"4.16.1","nyc":"^8.3.0","sinon":"1.17.6"},"engines":{"node":">=4"},"gitHead":"2c5ace504ebab0d67f1481dda443189d4c9506ae","_id":"cosmiconfig@2.0.2","_shasum":"555501957f17b849d44488d55dd2275a6452fff1","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"555501957f17b849d44488d55dd2275a6452fff1","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.0.2.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.0.2.tgz_1476209549923_0.25399640412069857"},"directories":{}},"2.1.0":{"name":"cosmiconfig","version":"2.1.0","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"node-version-gte-4 && eslint . || echo \"ESLint not supported\"","ava":"ava test/*.test.js","coverage":"nyc npm run ava && nyc report --reporter=html && open coverage/index.html","test":"npm run ava && npm run lint","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"graceful-fs":"^4.1.2","js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.1.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.16.0","eslint":"3.5.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^2.0.0","expect":"^1.20.2","lodash":"4.16.1","node-version-check":"^2.1.1","nyc":"^8.3.0","sinon":"1.17.6"},"engines":{"node":">=0.12"},"gitHead":"141c4adb5244b6abbb98a941f662a07ed70c8783","_id":"cosmiconfig@2.1.0","_shasum":"26e384a2055ea4e087050e5e08d53eb4eac8f86e","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"26e384a2055ea4e087050e5e08d53eb4eac8f86e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.1.0.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.1.0.tgz_1476412220096_0.5366442145314068"},"directories":{}},"2.1.1":{"name":"cosmiconfig","version":"2.1.1","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"node-version-gte-4 && eslint . || echo \"ESLint not supported\"","ava":"ava test/*.test.js","coverage":"nyc npm run ava && nyc report --reporter=html && open coverage/index.html","test":"npm run ava && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"js-yaml":"^3.4.3","minimist":"^1.2.0","object-assign":"^4.1.0","os-homedir":"^1.0.1","parse-json":"^2.2.0","require-from-string":"^1.1.0"},"devDependencies":{"ava":"0.16.0","eslint":"3.5.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^2.0.0","expect":"^1.20.2","lodash":"4.16.1","node-version-check":"^2.1.1","nyc":"^8.3.0","sinon":"1.17.6"},"engines":{"node":">=0.12"},"gitHead":"833385b0897c7d698e346442cc260a40f0e8eb9d","_id":"cosmiconfig@2.1.1","_shasum":"817f2c2039347a1e9bf7d090c0923e53f749ca82","_from":".","_npmVersion":"4.0.2","_nodeVersion":"4.6.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"817f2c2039347a1e9bf7d090c0923e53f749ca82","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.1.1.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.1.1.tgz_1480883998374_0.7163176657631993"},"directories":{}},"2.1.2":{"name":"cosmiconfig","version":"2.1.2","description":"Find and load configuration from a package.json property, rc file, or CommonJS module","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"node-version-gte-4 && eslint . || echo \"ESLint not supported\"","tape":"tape test/*.test.js | tap-spec","coverage":"nyc npm run tape && nyc report --reporter=html && open coverage/index.html","test":"npm run tape && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/davidtheclark/cosmiconfig.git"},"keywords":["load","configuration","config"],"author":{"name":"David Clark","email":"david.dave.clark@gmail.com"},"contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"license":"MIT","bugs":{"url":"https://github.com/davidtheclark/cosmiconfig/issues"},"homepage":"https://github.com/davidtheclark/cosmiconfig#readme","dependencies":{"is-directory":"^0.3.1","js-yaml":"^3.4.3","json-parse-helpfulerror":"^1.0.3","minimist":"^1.2.0","object-assign":"^4.1.0","os-homedir":"^1.0.1","require-from-string":"^1.1.0"},"devDependencies":{"eslint":"^3.13.0","eslint-config-davidtheclark-node":"^0.2.0","eslint-plugin-node":"^3.0.5","expect":"^1.20.2","lodash":"^4.17.4","node-version-check":"^2.1.1","nyc":"^10.0.0","sinon":"^1.17.7","tap-spec":"^4.1.1","tape":"^4.6.3"},"engines":{"node":">=0.12"},"gitHead":"324ba6e6899822218027c145220faad3da52a231","_id":"cosmiconfig@2.1.2","_shasum":"c43ae86d238f08f1728a345ed60ceb0aef63c060","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"shasum":"c43ae86d238f08f1728a345ed60ceb0aef63c060","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/cosmiconfig/-/cosmiconfig-2.1.2.tgz"},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cosmiconfig-2.1.2.tgz_1493170533469_0.09523397800512612"},"directories":{}}},"name":"cosmiconfig","contributors":[{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"}],"time":{"modified":"2017-04-26T01:35:33.689Z","created":"2015-11-12T02:06:06.728Z","0.1.0":"2015-11-12T02:06:06.728Z","0.2.0":"2015-11-12T14:14:36.859Z","0.3.0":"2015-11-13T04:35:37.790Z","0.4.0":"2015-11-13T13:57:53.031Z","0.4.1":"2015-11-13T14:10:00.493Z","0.5.0":"2015-11-15T14:56:40.794Z","1.0.0":"2015-11-18T02:48:57.711Z","1.0.1":"2015-11-27T15:46:00.803Z","1.0.2":"2016-01-10T17:47:06.120Z","1.1.0":"2016-01-13T03:06:08.295Z","2.0.0":"2016-10-08T14:31:10.642Z","2.0.1":"2016-10-11T15:03:03.419Z","2.0.2":"2016-10-11T18:12:31.606Z","2.1.0":"2016-10-14T02:30:20.337Z","2.1.1":"2016-12-04T20:40:00.515Z","2.1.2":"2017-04-26T01:35:33.689Z"},"readmeFilename":"README.md","homepage":"https://github.com/davidtheclark/cosmiconfig#readme"}