Zscaler 6.2
tcp/443
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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf475eaff99b
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "1028-ebe2b8cb6730b58a", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4792861b26
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "1015-ae3e769a38b019bd", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47fce31947
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "1003-f9564c0174ff18db", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47684407ef
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "991-a371af3de6d75538", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4786aefa30
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "983-ef224bd1c0dc9fe5", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4796232072
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "969-cd83b6f23d88e9b2", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf473c9d3058
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "962-907b7079c4247445", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4756ebaece
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "951-e73507aa558b6f18", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf470039500f
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "934-71343c9199f2d51e", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf470d95434b
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "922-1332a19fee31d3ee", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47fadb3197
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "913-f31f08d9991ba617", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf475c5fbf85
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "902-995fdc2ded2947d2", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4734ab37e3
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "900-6730a2729479bbfd", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47766b34d7
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "889-5a1705970fb7e7ad", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf474999379f
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "876-1ce69be04521c4b3", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47681af97d
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "864-cda83470b20f9cb2", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47ed87ca78
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "856-0075880c61b1ad51", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf470d67ec1d
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "844-075a1a2baba3a54f", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47dd13d5bb
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "836-0dcbd4276f69a450", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf471f824902
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "822-d2581567a60ea561", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47870e083e
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "811-2f42eb28e62b71c0", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47259b3fd7
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "806-8d030d7d8d4297ee", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf479d10efe1
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "795-1c9ee7f0f38fc2b3", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf477299e85d
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "781-ed5bf91973bed763", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4780ec1707
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "767-e62455034a068436", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4765f39b8b
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "441-b64bc02ba8f9a54f", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4791979900
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "431-369349c50b62d9a7", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4789771b45
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "418-fadaef6420ba6470", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf478a761dfd
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "414-01169473232c9b2a", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf470f24a821
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "395-b2dbd817b75457c4", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47a524e894
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "388-38e0f9fd32e729e4", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47f9bd1fbf
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "371-95ebca57bf360dd1", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4765377959
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "360-1754665cc2dd6fd5", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47f57803cb
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "352-b443faa628b90088", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47318dbb61
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "343-1fe0d132d502f6b7", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47ec1856df
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "329-5d31ee545f0e441e", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf474302181a
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "307-e255d16f7f172505", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4706b5c384
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "300-aec09829fa545879", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf474b43f75c
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "291-ba0d912b98469297", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47a49d94fb
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "285-8d126d2423269b35", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47ee64794b
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "277-090163c76bf4961c", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4779594241
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "273-c135ec8c3389b862", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47a95af7db
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "268-26a2b9bf49655894", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf476400c954
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "245-1dd1dda5d810b399", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47ccd94eb3
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "236-686306d0cbc75b64", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4720efcc86
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "231-86c8935f236ade9c", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4783add263
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "224-1a32b9a4b8759bc3", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4739a5b965
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "214-660f95f84ca2f1f4", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf4768ee06d7
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "202-3606a8ee7f73b72f", "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: b18befd9dd6536aa30550de51a011a7efe68809c29c5f5e8858bbf47603d12ac
{ "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://hat-al.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://hat-al.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://hat-al.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://hat-al.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": "196-d1459bd6d3aee94e", "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 · hat-al.direct.quickconnect.to
2024-09-16 07:58
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Mon, 16 Sep 2024 07:58:46 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-09-14 07:31
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Sat, 14 Sep 2024 07:32:00 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-09-12 10:44
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Thu, 12 Sep 2024 10:44:40 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-09-10 12:03
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Tue, 10 Sep 2024 12:03:35 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-09-08 10:18
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Sun, 08 Sep 2024 10:18:24 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-08-16 20:17
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Fri, 16 Aug 2024 20:17:40 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-08-14 13:41
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Wed, 14 Aug 2024 13:41:34 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 165.225.26.92:443 · hat-al.direct.quickconnect.to
2024-08-13 21:27
HTTP/1.1 403 Forbidden Content-Type: text/html Server: Zscaler/6.2 Cache-Control: no-cache Access-Control-Allow-Origin: * Content-length: 13680 Page title: Internet Security by Zscaler <!--# 6n1qQRk7FBJDV6n1qQRk7FBJDV6n1qQRk7FBJDVd--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta name="description" content="Zscaler makes the internet safe for businesses by protecting their employees from malware, viruses, and other security threats."> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Internet Security by Zscaler</title> <script language="JavaScript">var defLang = 'en_US'</script> <!--<img alt="Zscaler" src="https://login.zscaler.net/img_logo_new1.png">--> <style type="text/css"> body { background-color:#e3e3e3; font-family:Arial, sans-serif; font-size:12px; color:#4B4F54; } a { cursor:pointer; text-decoration:none; color:#009dd0; } table { margin-top:10px; } td table { margin-top:0; text-align:center; } img { max-height:75px; max-width:430px; } .pg { position:absolute; top:0; bottom:0; left:0; right:0; overflow-x:hidden; white-space:nowrap; } .pg:before { content:""; display:inline-block; height:100%; vertical-align:middle; } .pg_cont { display:inline-block; vertical-align:middle; width:100%; position:relative; } .a_i { width:19px; height:19px; margin-right:10px; background-size: 19px 19px; display:inline-block; } .m_tbl { width:100%; max-width:758px; background:#e3e3e3; min-width:600px; } .pg.red .eu_h { color:#fd4239; border-top:3px solid #fd4239; } .pg.red .eu_h .a_i { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAABoElEQVR4nK3Uz2vIYRzA8dcMzWGJdjSZKZLCDphfB7XVHBAXF2XFpJxd+BvUbtY20m4KxVExtbWkUYQLByU3OVhpy8zh+Tzr2dN3t30un1/P834+z/N8noc1lBZYPNVbx3twDQPYFuN+4RUm8ARL5YTWFzPWVZA2jGIWQ+jMC2ILzuERZrCjrmB9YW/CcxwLfwFTAf6J3TiPzTiMNziJz02wkQL0DpfwsVp8OCAb0IFnOIA5LG/zeEwWgN4GUBeeBihLN25mJ8NuhF7CIOYbQJPYHv59fAv7OlpL2OnQH2IbpexsAF3BePgdOFTC2kO/bQC9LED3AvTPymPoYuUFkHqprqizAF0NECwWY9vKynJi1yqg8QoEBwv7ewmbCt2HIw2goQrUgv6wF6QmXoY9KMqdLkBjDSDSueU3+Bi/S9gE3oedY2PS+6xBF3En7Hnczol8AX9xAa+xNWJHpXOajXwPzuBsAR7E1xoGX3BC6vJu7MVdzfIHl/GwDNa/xifsxy1xQ5XMSS2ypwax+n+Wc/ukr2YjfkhNXT81pP9sTeU/6YpejkX0NUMAAAAASUVORK5CYII='); } .pg.red .eu_h, .pg.red .eu_co, .pg.red .hr { border-left:3px solid #fd4239; border-right:3px solid #fd4239; } .pg.red .fo { border-bottom-color:#fd4239; } .pg.red .eu_co.st{ border:0; } .pg.yl .eu_h .a_i { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAFgUlEQVR4nO2dOWxcVRSGP0+wWWKSiC1WMAV7SAI0bBLBLBI0bEUSyiSAFCOgYLMpEBA3JCEUCISQEBIIKtIgpaCho6KhAglkCQlRRBAhKBIQW4Di5iHH+M28c+85955h7leO5y6eb972v/PuQKVSqQwNY5+8V3oKYi4C3gXuaPn7x8Bu4Eim+agxsxN6pSch5GrgM9plANx58j0bs8xImWESsho4BJzf4b1TwAfAGaYzMmCYhDyH7Ft/DTBvNBczhkXINPBkRLs54ALluZgyLEIWiNv9TAIvKM/FlGEQsoVw1hTLLHCFzlTsGQYh+0mb52nAS0pzMce7kNuBuxX62QbcpNCPOZ6F9ICXFfs7CIwp9meCZyE7gOsU+9sK3KfYnwlehUxgs9/fTzimuMWrkEeASwz63Qg8ZNCvGh6FrMX22mGBEMO4xKOQZ4FzDfufAp4y7D8Jb0KmgScyjDOP00jFm5AF4MwM47iNVDwJSY1IpLiMVDwJSY1IpLiMVLwIuQ2diESKu0jFgxDtiESKq0jFg5AdwPUFx3cVqZQWYhWRSHETqZQWYhWRSHETqZQUshZ4vuD4y3ERqZQUMg+cV3D85biIVEoJuZC4KhJrikcqpQ5kMRHJMeCosM16QkzSlSZSeVw4jholhGwGHhS2eR14Bvhd2O504BVkH/As8BqwKBxLhRK7LGlEcoI4GQC/AU8DfwvaFI1Ucgu5Fbgnol2MjIYTyK/Ei0UqOYWMEWIKKauA8YRxY+P8IpFKTiEpEclZCePGXltsBe5NGDeKXEJSI5KUm1YpMg+Q+cQnl5BZ4NKE9ikfakrb7JFKDiFrSL9dWkoIZI5UcgjRiEhK7bIgc6RiLWQDOv9MyS0EMkYq1kK0qkhKbiGQsUrFUshm9A6IJU57l5OlSsVSiGYVSektBDJFKlZCYiOSNkofQxrMIxULIWPoV5F4EQLGkYqFkO3ADcp9ethlNZhGKtpCJoB9yn2Cry0EDCMVbSGpEUkbKVuIxVW2WaSiKUQjImnD2xYCRpGKphDLKhJPx5AGk0hFS4hWRNKGxy0EDCIVLSHWD9p4FaIeqWgI2YT9PQOPu6yGWeByrc40hOR40MbrFgLKkUrqBzlDnvvO3k57l7MdpUglRUhsFUkMnreQBpVIJUWIRUTShudjSINKpBIrJPeDNlPEXeNcSZ7HrBuSI5XYxnuAy1IGFjIBfEVYk/f7jm2mgbvMZrQyTaTyVmwHMQsprwG+xtezHZ74jvBl/VnaMHYh5TmqjH4kRSpSIRsI1eSV/kRHKlIhe8l7kBxWoiMViZBNwMMxg4woUZGKRMg+4ftHnahIpetp7wzlVzv4CTgMHO/4/kngfmCd1YQ60EQqn3Zt0EWIRRWJlL+Am4Evhe22AJ/rT0fEQcIXutNjdV12QduAG1NmpMA3yGUAfAF8qzsVMaJIZZCQcWyqSKT8UaitFp0jlUFCckck/1c6V6n0E3I28KLKdCrQsUqln5A5uv28UKUbnSKVNiE1IrFhYKTSJmQv+W7sjBIDI5WVhFxFjUgs6RuprCQk93Kto0bfSGX5B38L5SOSUaC1SmWpkJxVJJWWKpWlQjxEJG2sJ24BmomTbT
Open service 165.225.26.92:80 · hat-al.direct.quickconnect.to
2024-08-13 21:27
HTTP/1.1 307 Temporary Redirect Content-Length: 0 Access-Control-Allow-Origin: * Location: https://gateway.zscaler.net:443/auD?origurl=http%3A%2F%2Fhat%2dal%2edirect%2equickconnect%2eto%2f&wexps=1&_ordtok=NkW3WVFR5HhqHNP6D46QRkkNFj Content-Type: text/html P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM" Set-Cookie: _sm_au_d=1;SameSite=LAX;path=/;domain=.direct.quickconnect.to
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-08-12 15:21
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Mon, 12 Aug 2024 15:21: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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-08-10 20:20
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Sat, 10 Aug 2024 20:20:19 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>
Open service 217.91.25.17:443 · hat-al.direct.quickconnect.to
2024-08-08 17:31
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: 1096 ETag: W/"448-OZfbYiUo5hGhGJbTVHMbIW3+Rn4" Vary: Accept-Encoding Date: Thu, 08 Aug 2024 17:31:57 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://hat-al.direct.quickconnect.to/-/static/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script> window.VERDACCIO_API_URL = 'https://hat-al.direct.quickconnect.to/-/verdaccio/'; window.VERDACCIO_SCOPE = ''; </script> <link rel="shortcut icon" href="https://hat-al.direct.quickconnect.to/-/static/favicon.ico"><link href="https://hat-al.direct.quickconnect.to/-/static/0.style.90206c517af430ab7588.css" rel="stylesheet"></head> <body class="body"> <div id="root"></div> <script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/manifest.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/vendors.690acf6f09a5579b4f02.js"></script><script type="text/javascript" src="https://hat-al.direct.quickconnect.to/-/static/main.690acf6f09a5579b4f02.js"></script></body> </html>