{"_id":"rcfile","_rev":"6-1afa0220ba0d9b1a5d1ea4b3cb32d06a","name":"rcfile","description":"Loads library configuration in all possible ways","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"rcfile","version":"1.0.0","description":"Loads library configuration in all possible ways","files":["index.js"],"main":"index.js","scripts":{"test":"mocha && npm run lint && mos test","lint":"eslint index.js index.spec.js","commit":"git-cz","coverage":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha -- -R spec","precoveralls":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm i coveralls@2","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","postcoveralls":"rm -rf ./coverage","md":"mos","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/zkochan/rcfile.git"},"keywords":["rc","config","configuration","json","yaml"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/rcfile/issues"},"homepage":"https://github.com/zkochan/rcfile#readme","mos":{"plugins":["readme"]},"dependencies":{"debug":"^2.2.0","find-up-glob":"^1.0.0","json5":"^0.5.0","read-pkg-up":"^1.0.1","require-uncached":"^1.0.2"},"devDependencies":{"chai":"^3.4.1","cz-conventional-changelog":"1.1.5","eslint":"^2.9.0","eslint-config-standard":"^5.3.0","eslint-plugin-promise":"^1.1.0","eslint-plugin-standard":"^1.3.2","ghooks":"^1.2.1","istanbul":"^0.4.2","mocha":"^2.3.4","mos":"^1.2.0","mos-plugin-readme":"^1.0.1","semantic-release":"^4.3.5","validate-commit-msg":"^2.6.1"},"engines":{"node":">=4"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"node ./node_modules/validate-commit-msg/index.js","pre-commit":"npm test"}},"gitHead":"9400c578764df9ed1e92d32f799cf29f17ee6de6","_id":"rcfile@1.0.0","_shasum":"8f1dc54d6188a6e0393b12fe5989e7b8e42f9b4f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"4.4.5","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"8f1dc54d6188a6e0393b12fe5989e7b8e42f9b4f","tarball":"https://registry.npmjs.org/rcfile/-/rcfile-1.0.0.tgz","integrity":"sha512-zl2t/OgL5zFbHZB6YYkfE9oM1iTHYvHCv4BuWY+MFO6Pd6FPFCAOjFyuv+5i6Rmf37+QyK2NNtR7AE4BIqL3sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgdYbxvSnjLQttSVUfJLKm2SjBOymngbAmMxzv8gjgcAiEAiWMDzbG4oIazFMzOdXMjXqcKkcqxRqsnc98ZUrHvp5c="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rcfile-1.0.0.tgz_1464523105352_0.4448995194397867"}},"1.0.1":{"name":"rcfile","version":"1.0.1","description":"Loads library configuration in all possible ways","files":["index.js"],"main":"index.js","scripts":{"test":"mocha && npm run lint && mos test","lint":"eslint index.js index.spec.js","commit":"git-cz","coverage":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha -- -R spec","precoveralls":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm i coveralls@2","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","postcoveralls":"rm -rf ./coverage","md":"mos","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/zkochan/rcfile.git"},"keywords":["rc","config","configuration","json","yaml"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/rcfile/issues"},"homepage":"https://github.com/zkochan/rcfile#readme","mos":{"plugins":["readme"]},"dependencies":{"debug":"^2.2.0","json5":"^0.5.0","object-assign":"^4.1.0","object-keys":"^1.0.9","require-uncached":"^1.0.2"},"devDependencies":{"chai":"^3.4.1","cz-conventional-changelog":"1.1.5","eslint":"^2.9.0","eslint-config-standard":"^5.3.0","eslint-plugin-promise":"^1.1.0","eslint-plugin-standard":"^1.3.2","ghooks":"^1.2.1","istanbul":"^0.4.2","mocha":"^2.3.4","mos":"^1.2.0","mos-plugin-readme":"^1.0.1","semantic-release":"^4.3.5","validate-commit-msg":"^2.6.1"},"engines":{"node":">=0.10"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"node ./node_modules/validate-commit-msg/index.js","pre-commit":"npm test"}},"gitHead":"8f8d053cfe2ba16e1ea09cdceab25b693194950f","_id":"rcfile@1.0.1","_shasum":"9c8d624a6e9635348dc6beba4d190e8c4edb689c","_from":".","_npmVersion":"3.9.3","_nodeVersion":"4.4.5","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"9c8d624a6e9635348dc6beba4d190e8c4edb689c","tarball":"https://registry.npmjs.org/rcfile/-/rcfile-1.0.1.tgz","integrity":"sha512-fv9bRQ2dFi6Ny+IRRNvjPhY8peuP+3TOo3hit+y4xnOYSPKgfXMRZe0x+rJmlQ6oza6pJWJVW2B/q4j22Hi0Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD8Y2KAJLZpX5Vfpxgib9ICIP8yIzPvRbcCosfnQoiZQIgeUWCTLNTgBDdVEP0qprPieDk721Fwddp219LEnd12f0="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rcfile-1.0.1.tgz_1464551123663_0.20938257407397032"}},"1.0.2":{"name":"rcfile","version":"1.0.2","description":"Loads library configuration in all possible ways","files":["index.js"],"main":"index.js","scripts":{"test":"mocha && npm run lint && mos test","lint":"eslint index.js index.spec.js","commit":"git-cz","coverage":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha -- -R spec","precoveralls":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm i coveralls@2","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","postcoveralls":"rm -rf ./coverage","md":"mos","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/zkochan/rcfile.git"},"keywords":["rc","config","configuration","json","yaml"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/rcfile/issues"},"homepage":"https://github.com/zkochan/rcfile#readme","mos":{"plugins":["readme"]},"dependencies":{"debug":"^2.2.0","js-yaml":"^3.6.1","json5":"^0.5.0","object-assign":"^4.1.0","object-keys":"^1.0.9","require-uncached":"^1.0.2"},"devDependencies":{"chai":"^3.4.1","cz-conventional-changelog":"1.1.5","eslint":"^2.9.0","eslint-config-standard":"^5.3.0","eslint-plugin-promise":"^1.1.0","eslint-plugin-standard":"^1.3.2","ghooks":"^1.2.1","istanbul":"^0.4.2","mocha":"^2.3.4","mos":"^1.2.0","mos-plugin-readme":"^1.0.1","semantic-release":"^4.3.5","validate-commit-msg":"^2.6.1"},"engines":{"node":">=0.10"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"node ./node_modules/validate-commit-msg/index.js","pre-commit":"npm test"}},"gitHead":"5e7e79f039e6ed0121d5d4bc85da21e5cb552e86","_id":"rcfile@1.0.2","_shasum":"f39d4197a91b92db6d6104dbc26a2743b36ec934","_from":".","_npmVersion":"3.9.3","_nodeVersion":"4.4.5","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"f39d4197a91b92db6d6104dbc26a2743b36ec934","tarball":"https://registry.npmjs.org/rcfile/-/rcfile-1.0.2.tgz","integrity":"sha512-NdYSjs462EgC2kNPy14fORYQZ9KoXvCMFm23yjDVyvMirWU2FuUztitqh51OMmCdKOg3WmLBJFpg5XIOj+fZnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlyilIddzdAz/3cupW5iZc+V0mnNeqnF9uRjfrCJipzQIgA2ubv2hDk79H6OWcwYKyHMgvbbAbQnABR9aBe00mGpM="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rcfile-1.0.2.tgz_1464555275127_0.6545713401865214"}},"1.0.3":{"name":"rcfile","version":"1.0.3","description":"Loads library configuration in all possible ways","files":["index.js"],"main":"index.js","scripts":{"test":"mocha && npm run lint && mos test","lint":"eslint index.js index.spec.js","commit":"git-cz","coverage":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha -- -R spec","precoveralls":"istanbul cover -x \"**/*.spec.js\" node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && npm i coveralls@2","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","postcoveralls":"rm -rf ./coverage","md":"mos","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/zkochan/rcfile.git"},"keywords":["rc","config","configuration","json","yaml"],"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/rcfile/issues"},"homepage":"https://github.com/zkochan/rcfile#readme","mos":{"plugins":["readme"]},"dependencies":{"debug":"^2.2.0","js-yaml":"^3.6.1","json5":"^0.5.0","object-assign":"^4.1.0","object-keys":"^1.0.9","path-exists":"^2.1.0","require-uncached":"^1.0.2"},"devDependencies":{"chai":"^3.4.1","cz-conventional-changelog":"1.1.5","eslint":"^2.9.0","eslint-config-standard":"^5.3.0","eslint-plugin-promise":"^1.1.0","eslint-plugin-standard":"^1.3.2","ghooks":"^1.2.1","istanbul":"^0.4.2","mocha":"^2.3.4","mos":"^1.2.0","mos-plugin-readme":"^1.0.2","semantic-release":"^4.3.5","validate-commit-msg":"^2.6.1"},"engines":{"node":">=0.10"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"node ./node_modules/validate-commit-msg/index.js","pre-commit":"npm test"}},"gitHead":"cea4c073e3d8e419ead378451bd3f80870d0bee5","_id":"rcfile@1.0.3","_shasum":"c1d8175c289187c1dc8bb3a963b6d444017b1576","_from":".","_npmVersion":"3.9.3","_nodeVersion":"4.4.5","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"c1d8175c289187c1dc8bb3a963b6d444017b1576","tarball":"https://registry.npmjs.org/rcfile/-/rcfile-1.0.3.tgz","integrity":"sha512-RqpaUbyFGgtcLAz8nRkGSZa0O1UcNHWZvGTS2imwGZ1GNhQafEeO1l/SgnVqw6PSN3xgjYyq9s+DqdqvqviiVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNKjn1106a+IxHTFY5/j73+zfNndTJdPPzPwZhYriJ4wIgMv9ECpvTld4Sfzd1V4q079/lREZz1+7BlAfI+SloGhk="}]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rcfile-1.0.3.tgz_1464647099170_0.6638351934961975"}}},"readme":"# rcfile\n\n> Loads library configuration in all possible ways\n\n<!--@shields.flatSquare('npm', 'travis', 'coveralls')-->\n[![npm version](https://img.shields.io/npm/v/rcfile.svg?style=flat-square)](https://www.npmjs.com/package/rcfile) [![Build Status](https://img.shields.io/travis/zkochan/rcfile/master.svg?style=flat-square)](https://travis-ci.org/zkochan/rcfile) [![Coverage Status](https://img.shields.io/coveralls/zkochan/rcfile/master.svg?style=flat-square)](https://coveralls.io/r/zkochan/rcfile?branch=master)\n<!--/@-->\n\nRead library configurations from `yaml`, `json`, `js` files or from sections in `package.json`.\n\n## Installation\n\n```sh\nnpm install --save rcfile\n```\n\n## Usage\n\n```js\n'use strict'\nvar rcfile = require('rcfile')\n\nconsole.log(rcfile('eslint'))\n//> { extends: 'standard',\n//    rules:\n//     { 'comma-dangle': [ 2, 'always-multiline' ],\n//       'arrow-parens': [ 2, 'as-needed' ] } }\n\nconsole.log(rcfile('travis', { configFileName: '.travis' }))\n//> { language: 'node_js',\n//    sudo: false,\n//    node_js: [ 'v0.10', 'v4' ],\n//    cache: { directories: [ 'node_modules' ] },\n//    before_install: [ 'npm install -g npm@3' ],\n//    install: [ 'npm install' ],\n//    after_success:\n//     [ 'if [[ $TRAVIS_NODE_VERSION == \"v4\" ]]; then npm run coveralls; fi;',\n//       'if [[ $TRAVIS_NODE_VERSION == \"v4\" ]]; then npm run semantic-release; fi;' ] }\n```\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](http://kochan.io)\n\n* * *\n\n<!--@dependencies({ shield: 'flat-square' })-->\n## <a name=\"dependencies\">Dependencies</a> [![dependency status](https://img.shields.io/david/zkochan/rcfile/master.svg?style=flat-square)](https://david-dm.org/zkochan/rcfile/master)\n\n- [debug](https://github.com/visionmedia/debug): small debugging utility\n- [js-yaml](https://github.com/nodeca/js-yaml): YAML 1.2 parser and serializer\n- [json5](https://github.com/aseemk/json5): JSON for the ES5 era.\n- [object-assign](https://github.com/sindresorhus/object-assign): ES2015 Object.assign() ponyfill\n- [object-keys](https://github.com/ljharb/object-keys): An Object.keys replacement, in case Object.keys is not available. From <https://github.com/es-shims/es5-shim>\n- [path-exists](https://github.com/sindresorhus/path-exists): Check if a path exists\n- [require-uncached](https://github.com/sindresorhus/require-uncached): Require a module bypassing the cache\n\n<!--/@-->\n\n<!--@devDependencies({ shield: 'flat-square' })-->\n## <a name=\"dev-dependencies\">Dev Dependencies</a> [![devDependency status](https://img.shields.io/david/dev/zkochan/rcfile/master.svg?style=flat-square)](https://david-dm.org/zkochan/rcfile/master#info=devDependencies)\n\n- [chai](https://github.com/chaijs/chai): BDD/TDD assertion library for node.js and the browser. Test framework agnostic.\n- [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog): Commitizen adapter following the conventional-changelog format.\n- [eslint](https://github.com/eslint/eslint): An AST-based pattern checker for JavaScript.\n- [eslint-config-standard](https://github.com/feross/eslint-config-standard): JavaScript Standard Style - ESLint Shareable Config\n- [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise): Enforce best practices for JavaScript promises\n- [eslint-plugin-standard](https://github.com/xjamundx/eslint-plugin-standard): ESlint Plugin for the Standard Linter\n- [ghooks](https://github.com/gtramontina/ghooks): Simple git hooks\n- [istanbul](https://github.com/gotwarlost/istanbul): Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests\n- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework\n- [mos](https://github.com/mosjs/mos): A pluggable module that injects content into your markdown files via hidden JavaScript snippets\n- [mos-plugin-readme](https://github.com/mosjs/mos-plugin-readme): A mos plugin for generating README\n- [semantic-release](https://github.com/semantic-release/semantic-release): automated semver compliant package publishing\n- [validate-commit-msg](https://github.com/kentcdodds/validate-commit-msg): Script to validate a commit message follows the conventional changelog standard\n\n<!--/@-->\n","maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"time":{"modified":"2022-06-25T14:47:31.690Z","created":"2016-05-29T11:58:27.819Z","1.0.0":"2016-05-29T11:58:27.819Z","1.0.1":"2016-05-29T19:45:25.954Z","1.0.2":"2016-05-29T20:54:37.449Z","1.0.3":"2016-05-30T22:25:01.766Z"},"homepage":"https://github.com/zkochan/rcfile#readme","keywords":["rc","config","configuration","json","yaml"],"repository":{"type":"git","url":"git+https://github.com/zkochan/rcfile.git"},"author":{"name":"Zoltan Kochan","email":"zoltan.kochan@gmail.com","url":"http://kochan.io"},"bugs":{"url":"https://github.com/zkochan/rcfile/issues"},"license":"MIT","readmeFilename":"README.md"}