A JSON configuration file has been found at config.json
.
It may contains application configuration such as credentials.
False positive might happen when hitting a JSON API endpoint.
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47df137cd1
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "1032-2ef14b8ee85e28b4", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47de7db5f3
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "1020-c573127cf852d100", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47da8f5fda
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "1007-f194a811660d3b2c", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4789a7ca99
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "999-f4d31dd489c91245", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4702e2910e
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "988-7d14cef35650e349", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47c1f57c17
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "974-27d5081096f0e986", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47dd34fbfb
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "966-85a0afbe11b0f038", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4704bcb13c
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "957-8c8c2145dd85fbb7", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4748e19cc4
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "945-843d677559c1551b", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476833ec2e
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "940-7e052a196a6be42f", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476927af5d
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "930-9bf18f2aa483470f", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf479912dabb
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "919-bb82c477d3aca65e", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476f41f2bc
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "908-fa13502193dff232", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476b94de92
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "897-1e4fd553f6407d65", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf477ad08b00
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "883-3c01def7d2649800", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf472c7c302a
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "871-04e47d494495499d", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4760f18d9c
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "866-11ff3937ffd24bc8", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47b29cdfc0
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "853-d3db5005ec02ba83", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47e059901c
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "845-fd49cdb5bea7b05e", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47c664ff59
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "833-5702c81ae4b6be34", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf472be41496
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "823-33fac1bfd993bf93", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf475e76be0e
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "814-5814477cc4c02e35", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47cf855dc9
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "805-61f955def675a063", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4736112f5d
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "793-d5540accedccc65c", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf477d8d0c1d
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "783-cdf14229204a2251", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47d13d0fba
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "159-4117d6270d658feb", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47391132b9
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "155-b27d470fc2355443", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf478d3c650c
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "152-c92c57ba9a10db44", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47a0d4349e
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "149-0db3bbb70a2a7aaf", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47d777ab8f
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "145-3a69937e9d66ec71", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47e6a731d3
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "143-6a898775fd488f5d", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4714232864
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "139-b74fbfb9ea98266a", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf479decde8f
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "134-b56c8c16e436b518", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf475a745b61
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "130-57de55ac3bf9d197", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47da101ff1
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "124-7ea2db7a64e3b295", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47fc5f97d3
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "121-3c6c724623f45ecd", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47f68e2a41
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "118-f2b74853b7f1576a", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47859c03ff
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "116-3e7e546a042af184", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4798c7939c
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "111-c9b1bd898f543cd7", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47496fe989
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "108-41190b6ab7745fcc", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47208ab70f
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "105-6e4d15a54bb86838", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47ecaf0140
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "103-4244b6ca06ef9d81", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47be2625cd
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "101-33b6179c8fce8bc9", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47cc5d6fb1
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "99-42b7fc844d350011", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47f518349b
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "96-8a374d47033769ab", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476c358794
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "83-68feece789c8e994", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47fae273a0
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "59-c6720ed8bd78bbaf", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47e8dbbfb3
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "41-35717951940286aa", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4774194d36
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-08-28T08:46:02.296Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "29-cac30309dd5cbfae", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Fingerprint: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47c64f84cb
{ "name": "config.json", "versions": { "0.0.1": { "version": "0.0.1", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": "https://github.com/bulyshko/config.json/issues", "main": "./lib/config.js", "dependencies": { "nconf": "0.6.7" }, "devDependencies": { "mocha": "1.9.0" }, "scripts": { "test": "mocha test/*-test.js" }, "_id": "config.json@0.0.1", "dist": { "shasum": "3b5cf4feedc246e5464de3e3404e084280ff045d", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.2.17", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.2": { "version": "0.0.2", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "~0.6.9" }, "devDependencies": { "mocha": "~1.17.1" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.2", "dist": { "shasum": "9c446cbba8f234d95b003c8fa812772fdc69b3ca", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.21", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.3": { "version": "0.0.3", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "http://romualdbulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.6.9" }, "devDependencies": { "mocha": "1.18.2" }, "scripts": { "test": "mocha test/*-test.js" }, "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.3", "dist": { "shasum": "5a12471f3166b505e2df7a9d1bc8372cadd24e67", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.3.tgz" }, "_from": ".", "_npmVersion": "1.4.3", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "directories": {} }, "0.0.4": { "version": "0.0.4", "name": "config.json", "description": "nconf wrapper that simplifies work with environment specific configuration files.", "keywords": [ "configuration", "config", "json", "nconf", "wrapper" ], "author": { "name": "Romuald Bulyshko", "email": "romuald@bulyshko.com", "url": "https://bulyshko.com" }, "repository": { "type": "git", "url": "https://github.com/bulyshko/config.json" }, "bugs": { "url": "https://github.com/bulyshko/config.json/issues" }, "main": "./lib/config.js", "dependencies": { "nconf": "0.7.1" }, "devDependencies": { "mocha": "2.2.1" }, "scripts": { "test": "mocha test/*-test.js" }, "gitHead": "f5f578629cb7e0cdc6fd0b3a5786cd7a2e7b6dba", "homepage": "https://github.com/bulyshko/config.json", "_id": "config.json@0.0.4", "_shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "_from": ".", "_npmVersion": "2.0.0-beta.0", "_npmUser": { "name": "bulyshko", "email": "romuald@bulyshko.com" }, "maintainers": [ { "name": "bulyshko", "email": "romuald@bulyshko.com" } ], "dist": { "shasum": "dc0250105dd984888c0372b2f4cabbd8a2fd1afb", "tarball": "https://rnj-backup.direct.quickconnect.to/config.json/-/config.json-0.0.4.tgz" }, "directories": {} } }, "time": { "modified": "2022-06-13T21:02:19.214Z", "created": "2013-04-05T20:03:34.240Z", "0.0.1": "2013-04-05T20:03:37.972Z", "0.0.2": "2014-01-29T13:40:21.204Z", "0.0.3": "2014-04-01T05:03:40.165Z", "0.0.4": "2015-03-21T10:13:46.277Z" }, "dist-tags": { "latest": "0.0.4" }, "_rev": "21-7ffe6afb01b53389", "readme": "# config.json\n\n[nconf][nconf] wrapper that simplifies work\nwith environment specific configuration files.\n\n[![Build Status][build]][travis] [![Dependency Status][dependency]][david]\n\n**config.json** is easy to use; it:\n\n- loads the default configuration file;\n- loads environment specific configuration file and overrides defaults;\n\nand then:\n\n- uses environment variables;\n- and command-line arguments to override data from configuration files.\n\n## Installation\n\n```\nnpm install config.json\n```\n\n## Usage\n\nThe top-level of `config.json` is a function that loads configuration file with the given `filepath`.\n\n### Create default configuration file\n\n```\nvi sample.json\n```\n\n```json\n{\n \"domain\": \"www.example.com\",\n \"mongodb\": {\n \"host\": \"localhost\",\n \"port\": 27017\n }\n}\n```\n\n### Create environment specific configuration file\n\n```\nvi sample.development.json\n```\n\n```json\n{\n \"domain\": \"dev.example.com\"\n}\n```\n\n**Note:** Environment specific configuration files should be in the same directory as the default one.\n\n### Test config.json in action\n\n```\nvi sample.js\n```\n\n```js\nvar config = require('config.json')('./sample.json');\n\nconsole.log(\"domain:\", config.domain);\nconsole.log(\"mongodb:\\n\",\n \"host:\", config.mongodb.host, \"\\n\",\n \"port:\", config.mongodb.port);\n```\n\nRun the above script:\n\n```\nNODE_ENV=development node ./sample.js --mongodb:host \"dharma.mongohq.com\" --mongodb:port 10065\n```\n\nThe output will be:\n\n```\ndomain: dev.example.com\nmongodb:\n host: dharma.mongohq.com\n port: 10065\n```\n\n### Load configuration for the specific environment\n\nEnvironment can be set by passing `env` argument:\n\n```js\nvar developmentConfig = require('config.json')('./sample.json', 'development');\nvar productionConfig = require('config.json')('./sample.json', 'production');\n```\n\n### One more thing...\n\n`filepath` can be empty if your configuration file is in the current working directory of the process and is called **config.json**.\n\n## License\n\nReleased under the [MIT license][license].\n\n[nconf]:https://github.com/flatiron/nconf\n[license]:https://raw.github.com/bulyshko/config.json/master/LICENSE\n[build]:https://travis-ci.org/bulyshko/config.json.svg?branch=master\n[travis]:https://travis-ci.org/bulyshko/config.json\n[dependency]:https://david-dm.org/bulyshko/config.json.svg?theme=shields.io\n[david]:https://david-dm.org/bulyshko/config.json", "_attachments": {} }
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-09-14 19:19
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Sat, 14 Sep 2024 19:19:05 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-09-12 23:25
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Thu, 12 Sep 2024 23:25:15 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-09-10 22:22
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Tue, 10 Sep 2024 22:22:53 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-09-08 19:10
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Sun, 08 Sep 2024 19:10:17 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-09-06 18:02
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Fri, 06 Sep 2024 18:02:14 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-08-16 16:10
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Fri, 16 Aug 2024 16:10:21 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-08-14 15:32
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Wed, 14 Aug 2024 15:32:28 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-08-12 18:12
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Mon, 12 Aug 2024 18:12:17 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-08-10 20:00
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Sat, 10 Aug 2024 20:00:20 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · rnj-backup.direct.quickconnect.to
2024-08-08 15:30
HTTP/1.1 200 OK X-Powered-By: verdaccio/4.0.0-alpha.4 Access-Control-Allow-Origin: * X-Frame-Options: deny Content-Type: text/html; charset=utf-8 Content-Length: 1124 ETag: W/"464-mudWPL9LkDewE3zSMtxyLAn9dD0" Vary: Accept-Encoding Date: Thu, 08 Aug 2024 15:30:21 GMT Connection: close Page title: Verdaccio <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> Verdaccio </title> <link rel="icon" type="image/png" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://rnj-backup.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://rnj-backup.direct.quickconnect.to/-/static/favicon.ico"><link href="https://rnj-backup.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://rnj-backup.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>