{ "_id": "ini", "_rev": "79-873fcd1d12ab6f9bbe8c4477a9093e1d", "name": "ini", "description": "An ini encoder/decoder for node", "dist-tags": { "latest": "1.3.5" }, "versions": { "1.0.0": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.0", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_npmJsonOpts": { "file": "/Users/isaacs/.npm/ini/1.0.0/package/package.json", "wscript": false, "contributors": false, "serverjs": false }, "_id": "ini@1.0.0", "_engineSupported": true, "_npmVersion": "1.0.22", "_nodeVersion": "v0.4.11-pre", "_defaultsLoaded": true, "dist": { "shasum": "a17171a4fc9149e26c7951e28db44b1ffab40676", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.0.tgz" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.0.1": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.1", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_npmJsonOpts": { "file": "/Users/isaacs/.npm/ini/1.0.1/package/package.json", "wscript": false, "contributors": false, "serverjs": false }, "_id": "ini@1.0.1", "_engineSupported": true, "_npmVersion": "1.0.28-pre-DEV-UNSTABLE", "_nodeVersion": "v0.5.7-pre", "_defaultsLoaded": true, "dist": { "shasum": "09de7da168015db47155b981bc18821e7ee4a1f6", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.1.tgz" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.0.2": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.2", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "_id": "ini@1.0.2", "_engineSupported": true, "_npmVersion": "1.1.0-beta-10", "_nodeVersion": "v0.6.7-pre", "_defaultsLoaded": true, "dist": { "shasum": "f240a2e4af74cf012440983b1718210fb75a325c", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.2.tgz" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.0.3": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.3", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_id": "ini@1.0.3", "dist": { "shasum": "a15e830255035b0c4540c1a14b35b6bfff0f00f0", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.3.tgz" }, "_npmVersion": "1.1.48", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.0.4": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.4", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_id": "ini@1.0.4", "dist": { "shasum": "da7aee1f450192be7405be1f719683c7574527c1", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.4.tgz" }, "_npmVersion": "1.1.48", "_npmUser": { "name": "", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.0.5": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.0.5", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_id": "ini@1.0.5", "dist": { "shasum": "4066aca7252b2783c592decf925500eb7cbf5da6", "tarball": "https://registry.npmjs.org/ini/-/ini-1.0.5.tgz" }, "_npmVersion": "1.1.62", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.1.0": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.1.0", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.0.9" }, "_id": "ini@1.1.0", "dist": { "shasum": "4e808c2ce144c6c1788918e034d6797bc6cf6281", "tarball": "https://registry.npmjs.org/ini/-/ini-1.1.0.tgz" }, "_from": ".", "_npmVersion": "1.2.2", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.2.0": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.2.0", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.2.0", "_shasum": "2cc36789605809930722e793ae13ac835e623ac6", "_from": ".", "_npmVersion": "1.4.10", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "2cc36789605809930722e793ae13ac835e623ac6", "tarball": "https://registry.npmjs.org/ini/-/ini-1.2.0.tgz" }, "directories": {} }, "1.2.1": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.2.1", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "gitHead": "13498ce1ba5a6a20cd77ed2b55de0e714786f70c", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.2.1", "_shasum": "7f774e2f22752cd1dacbf9c63323df2a164ebca3", "_from": ".", "_npmVersion": "1.4.11", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "7f774e2f22752cd1dacbf9c63323df2a164ebca3", "tarball": "https://registry.npmjs.org/ini/-/ini-1.2.1.tgz" }, "directories": {} }, "1.3.0": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.0", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "gitHead": "6c314944d0201f3199e1189aeb5687d0aaf1c575", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.3.0", "_shasum": "625483e56c643a7721014c76604d3353f44bd429", "_from": ".", "_npmVersion": "2.0.0", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "625483e56c643a7721014c76604d3353f44bd429", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.0.tgz" }, "directories": {} }, "1.3.1": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.1", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "gitHead": "f473c0caab23f0f09fbaf2d8f67abc57382e368f", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.3.1", "_shasum": "cae65f770d728f242fe082dce4bb624ae957dcd0", "_from": ".", "_npmVersion": "2.1.9", "_nodeVersion": "0.10.16", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "cae65f770d728f242fe082dce4bb624ae957dcd0", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.1.tgz" }, "directories": {} }, "1.3.2": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.2", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "license": "ISC", "gitHead": "bbe4a8bb09afa58f724c04ce43a49037cabeadfb", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.3.2", "_shasum": "9ebf4a44daf9d89acd07aab9f89a083d887f6dec", "_from": ".", "_npmVersion": "2.1.9", "_nodeVersion": "0.10.16", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "9ebf4a44daf9d89acd07aab9f89a083d887f6dec", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.2.tgz" }, "directories": {} }, "1.3.3": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.3", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "~0.4.0" }, "license": "ISC", "gitHead": "566268f1fb8dd3c0f7d968091de7b7fb2b97b483", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini", "_id": "ini@1.3.3", "_shasum": "c07e34aef1de06aff21d413b458e52b21533a11e", "_from": ".", "_npmVersion": "2.5.1", "_nodeVersion": "1.1.0", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "dist": { "shasum": "c07e34aef1de06aff21d413b458e52b21533a11e", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.3.tgz" }, "directories": {} }, "1.3.4": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.4", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "test": "tap test/*.js" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "tap": "^1.2.0" }, "license": "ISC", "files": [ "ini.js" ], "gitHead": "4a3001abc4c608e51add9f1d2b2cadf02b8e6dea", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini#readme", "_id": "ini@1.3.4", "_shasum": "0537cb79daf59b59a1a517dff706c86ec039162e", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "2.0.1", "_npmUser": { "name": "isaacs", "email": "isaacs@npmjs.com" }, "dist": { "shasum": "0537cb79daf59b59a1a517dff706c86ec039162e", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "directories": {} }, "1.3.5": { "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "name": "ini", "description": "An ini encoder/decoder for node", "version": "1.3.5", "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "main": "ini.js", "scripts": { "pretest": "standard ini.js", "test": "tap test/*.js --100 -J", "preversion": "npm test", "postversion": "npm publish", "postpublish": "git push origin --all; git push origin --tags" }, "engines": { "node": "*" }, "dependencies": {}, "devDependencies": { "standard": "^10.0.3", "tap": "^10.7.3 || 11" }, "license": "ISC", "files": [ "ini.js" ], "gitHead": "738eca59d77d8cfdddf5c477c17a0d8f8fbfe0fd", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "homepage": "https://github.com/isaacs/ini#readme", "_id": "ini@1.3.5", "_npmVersion": "5.5.1", "_nodeVersion": "8.9.1", "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "dist": { "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "shasum": "eee25f56db1c9ec6085e0c22778083f596abf927", "tarball": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz" }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/ini-1.3.5.tgz_1511302634290_0.6889052151236683" }, "directories": {} } }, "maintainers": [ { "name": "isaacs", "email": "i@izs.me" } ], "time": { "modified": "2019-04-19T08:52:23.843Z", "created": "2011-08-07T07:05:10.072Z", "1.0.0": "2011-08-07T07:05:12.514Z", "1.0.1": "2011-09-13T17:03:01.369Z", "1.0.2": "2012-01-07T22:46:24.188Z", "1.0.3": "2012-08-13T18:38:27.785Z", "1.0.4": "2012-08-14T23:12:24.868Z", "1.0.5": "2012-10-04T17:34:10.486Z", "1.1.0": "2013-01-23T01:57:20.617Z", "1.2.0": "2014-05-13T00:37:51.844Z", "1.2.1": "2014-05-23T05:52:36.003Z", "1.3.0": "2014-09-16T07:06:18.088Z", "1.3.1": "2014-11-25T10:34:41.287Z", "1.3.2": "2014-11-25T10:39:06.761Z", "1.3.3": "2015-02-11T00:01:32.150Z", "1.3.4": "2015-06-06T16:47:03.941Z", "1.3.5": "2017-11-21T22:17:14.391Z" }, "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "repository": { "type": "git", "url": "git://github.com/isaacs/ini.git" }, "users": { "fgribreau": true, "kastor": true, "thomasjo": true, "dercoder": true, "subfuzion": true, "haeck": true, "yashprit": true, "battlemidget": true, "kontrax": true, "pandao": true, "markthethomas": true, "iamstarkov": true, "bret": true, "jinyistudio": true, "paragi": true, "evanyeung": true, "kankungyip": true, "vzg03566": true, "lgomez": true, "ragingsmurf": true, "scottfreecode": true, "andyd": true, "tmurngon": true, "kyleaziz": true, "demian_dark": true, "vin974": true, "akashdeep-singh": true, "yikuo": true, "shrimpseaweed": true, "usex": true, "danielpavelic": true, "heartnett": true, "fdsuprema": true, "keenwon": true, "davidnyhuis": true, "zhenzhong": true, "zhenguo.zhao": true, "tosbodes": true, "justjavac": true, "xuu": true, "raycharles": true, "jacob-beltran": true, "edosrecki": true, "daizch": true }, "readme": "An ini format parser and serializer for node.\n\nSections are treated as nested objects. Items before the first\nheading are saved on the object directly.\n\n## Usage\n\nConsider an ini-file `config.ini` that looks like this:\n\n ; this comment is being ignored\n scope = global\n\n [database]\n user = dbuser\n password = dbpassword\n database = use_this_database\n\n [paths.default]\n datadir = /var/lib/data\n array[] = first value\n array[] = second value\n array[] = third value\n\nYou can read, manipulate and write the ini-file like so:\n\n var fs = require('fs')\n , ini = require('ini')\n\n var config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'))\n\n config.scope = 'local'\n config.database.database = 'use_another_database'\n config.paths.default.tmpdir = '/tmp'\n delete config.paths.default.datadir\n config.paths.default.array.push('fourth value')\n\n fs.writeFileSync('./config_modified.ini', ini.stringify(config, { section: 'section' }))\n\nThis will result in a file called `config_modified.ini` being written\nto the filesystem with the following content:\n\n [section]\n scope=local\n [section.database]\n user=dbuser\n password=dbpassword\n database=use_another_database\n [section.paths.default]\n tmpdir=/tmp\n array[]=first value\n array[]=second value\n array[]=third value\n array[]=fourth value\n\n\n## API\n\n### decode(inistring)\n\nDecode the ini-style formatted `inistring` into a nested object.\n\n### parse(inistring)\n\nAlias for `decode(inistring)`\n\n### encode(object, [options])\n\nEncode the object `object` into an ini-style formatted string. If the\noptional parameter `section` is given, then all top-level properties\nof the object are put into this section and the `section`-string is\nprepended to all sub-sections, see the usage example above.\n\nThe `options` object may contain the following:\n\n* `section` A string which will be the first `section` in the encoded\n ini data. Defaults to none.\n* `whitespace` Boolean to specify whether to put whitespace around the\n `=` character. By default, whitespace is omitted, to be friendly to\n some persnickety old parsers that don't tolerate it well. But some\n find that it's more human-readable and pretty with the whitespace.\n\nFor backwards compatibility reasons, if a `string` options is passed\nin, then it is assumed to be the `section` value.\n\n### stringify(object, [options])\n\nAlias for `encode(object, [options])`\n\n### safe(val)\n\nEscapes the string `val` such that it is safe to be used as a key or\nvalue in an ini-file. Basically escapes quotes. For example\n\n ini.safe('\"unsafe string\"')\n\nwould result in\n\n \"\\\"unsafe string\\\"\"\n\n### unsafe(val)\n\nUnescapes the string `val`\n", "homepage": "https://github.com/isaacs/ini#readme", "bugs": { "url": "https://github.com/isaacs/ini/issues" }, "readmeFilename": "README.md", "license": "ISC" }