Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-05-20 02:20:47 +0400
committerisaacs <i@izs.me>2014-05-20 02:21:35 +0400
commit015af8f0c42c1fd87e6521130e645b73f4559ddb (patch)
tree15b19402be0fdf3fc3f09969d238a3abe881dc36 /node_modules/ini/package.json
parent69bc6b5f01242b29527042bc5280087657fd6784 (diff)
Bump many minor dep versions
abbrev columnify fstream-npm glob ini minimatch npmconf
Diffstat (limited to 'node_modules/ini/package.json')
-rw-r--r--node_modules/ini/package.json32
1 files changed, 26 insertions, 6 deletions
diff --git a/node_modules/ini/package.json b/node_modules/ini/package.json
index 41c63607a..6c3c8d18e 100644
--- a/node_modules/ini/package.json
+++ b/node_modules/ini/package.json
@@ -6,7 +6,7 @@
},
"name": "ini",
"description": "An ini encoder/decoder for node",
- "version": "1.1.0",
+ "version": "1.2.0",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/ini.git"
@@ -20,10 +20,30 @@
},
"dependencies": {},
"devDependencies": {
- "tap": "~0.0.9"
+ "tap": "~0.4.0"
},
- "readme": "An ini format parser and serializer for node.\n\nSections are treated as nested objects. Items before the first heading\nare 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'))\n\nThis will result in a file called `config_modified.ini` being written to 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)\nDecode the ini-style formatted `inistring` into a nested object.\n\n### parse(inistring)\nAlias for `decode(inistring)`\n\n### encode(object, [section])\nEncode the object `object` into an ini-style formatted string. If the optional parameter `section` is given, then all top-level properties of the object are put into this section and the `section`-string is prepended to all sub-sections, see the usage example above.\n\n### stringify(object, [section])\nAlias for `encode(object, [section])`\n\n### safe(val)\nEscapes the string `val` such that it is safe to be used as a key or value 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)\nUnescapes the string `val`\n",
- "readmeFilename": "README.md",
- "_id": "ini@1.1.0",
- "_from": "ini@latest"
+ "bugs": {
+ "url": "https://github.com/isaacs/ini/issues"
+ },
+ "homepage": "https://github.com/isaacs/ini",
+ "_id": "ini@1.2.0",
+ "_shasum": "2cc36789605809930722e793ae13ac835e623ac6",
+ "_from": "ini@latest",
+ "_npmVersion": "1.4.10",
+ "_npmUser": {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ },
+ "maintainers": [
+ {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ }
+ ],
+ "dist": {
+ "shasum": "2cc36789605809930722e793ae13ac835e623ac6",
+ "tarball": "http://registry.npmjs.org/ini/-/ini-1.2.0.tgz"
+ },
+ "directories": {},
+ "_resolved": "https://registry.npmjs.org/ini/-/ini-1.2.0.tgz"
}