cordova-android/node_modules/properties-parser/package.json

84 lines
5.4 KiB
JSON
Raw Normal View History

{
"_args": [
[
2016-07-23 03:24:27 +08:00
{
"raw": "properties-parser@^0.2.3",
"scope": null,
"escapedName": "properties-parser",
"name": "properties-parser",
"rawSpec": "^0.2.3",
"spec": ">=0.2.3 <0.3.0",
"type": "range"
},
"/Users/steveng/repo/cordova/cordova-android"
]
],
"_from": "properties-parser@>=0.2.3 <0.3.0",
"_id": "properties-parser@0.2.3",
"_inCache": true,
"_location": "/properties-parser",
"_npmUser": {
2016-07-23 03:24:27 +08:00
"name": "xavi",
"email": "xavi.rmz@gmail.com"
},
"_npmVersion": "1.3.23",
"_phantomChildren": {},
"_requested": {
"raw": "properties-parser@^0.2.3",
"scope": null,
2016-07-23 03:24:27 +08:00
"escapedName": "properties-parser",
"name": "properties-parser",
"rawSpec": "^0.2.3",
"spec": ">=0.2.3 <0.3.0",
"type": "range"
},
"_requiredBy": [
"/"
],
2016-07-23 03:24:27 +08:00
"_resolved": "http://registry.npmjs.org/properties-parser/-/properties-parser-0.2.3.tgz",
"_shasum": "f7591255f707abbff227c7b56b637dbb0373a10f",
"_shrinkwrap": null,
"_spec": "properties-parser@^0.2.3",
2016-07-23 03:24:27 +08:00
"_where": "/Users/steveng/repo/cordova/cordova-android",
"bugs": {
"url": "https://github.com/xavi-/node-properties-parser/issues"
},
"dependencies": {},
"description": "A parser for .properties files written in javascript",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "f7591255f707abbff227c7b56b637dbb0373a10f",
2016-07-23 03:24:27 +08:00
"tarball": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.2.3.tgz"
},
"engines": {
"node": ">= 0.3.1"
},
2017-09-06 02:04:12 +08:00
"homepage": "https://github.com/xavi-/node-properties-parser#readme",
"keywords": [
2016-05-26 07:31:28 +08:00
"parser",
".properties",
2016-05-26 07:31:28 +08:00
"properties",
"java",
2016-05-26 07:31:28 +08:00
"file parser",
"actionscript"
],
"main": "./index.js",
"maintainers": [
{
2017-09-06 02:04:12 +08:00
"name": "Xavi",
"email": "xavi.rmz@gmail.com",
"url": "http://xavi.co"
}
],
"name": "properties-parser",
"optionalDependencies": {},
2017-09-06 02:04:12 +08:00
"readme": "# node-properties-parser\n\nA parser for [.properties](http://en.wikipedia.org/wiki/.properties) files written in javascript. Properties files store key-value pairs. They are typically used for configuration and internationalization in Java applications as well as in Actionscript projects. Here's an example of the format:\n\n\t# You are reading the \".properties\" entry.\n\t! The exclamation mark can also mark text as comments.\n\twebsite = http://en.wikipedia.org/\n\tlanguage = English\n\t# The backslash below tells the application to continue reading\n\t# the value onto the next line.\n\tmessage = Welcome to \\\n\t Wikipedia!\n\t# Add spaces to the key\n\tkey\\ with\\ spaces = This is the value that could be looked up with the key \"key with spaces\".\n\t# Unicode\n\ttab : \\u0009\n*(taken from [Wikipedia](http://en.wikipedia.org/wiki/.properties#Format))*\n\nCurrently works with any version of node.js.\n\n## The API\n\n- `parse(text)`: Parses `text` into key-value pairs. Returns an object containing the key-value pairs.\n- `read(path[, callback])`: Opens the file specified by `path` and calls `parse` on its content. If the optional `callback` parameter is provided, the result is then passed to it as the second parameter. If an error occurs, the error object is passed to `callback` as the first parameter. If `callback` is not provided, the file specified by `path` is synchronously read and calls `parse` on its contents. The resulting object is immediately returned.\n- `createEditor([path[, callback]])`: If neither `path` or `callback` are provided an empty editor object is returned synchronously. If only `path` is provided, the file specified by `path` is synchronously read and parsed. An editor object with the results in then immediately returned. If both `path` and `callback` are provided, the file specified by `path` is read and parsed asynchronously. An editor object with the results are then passed to `callback` as the second parameters. If an error occurs, the error object is passed to `callback` as the first parameter.\n- `Editor`: The editor object is returned by `createEditor`. Has the following API:\n\t- `get(key)`: Returns the value currently associated with `key`.\n\t- `set(key, [value[, comment]])`: Associates `key` with `value`. An optional comment can be provided. If `value` is not specified or is `null`, then `key` is unset.\n\t- `unset(key)`: Unsets the specified `key`.\n\t- `save([path][, callback]])`: Writes the current contents of this editor object to a file specified by `path`. If `path` is not provided, then it'll be defaulted to the `path` value passed to `createEditor`. The `callback` parameter is called when the file has been written to disk.\n\t- `addHeadComment`: Added a comment to the head of the file.\n\t- `toString`: Returns the string representation of this properties editor object. This string will be written to a file if `save` is called.\n\n## Getting node-properties-parser\n\nThe easiest way to get node-properties-parser is with [npm](http://npmjs.org/):\n\n\tnpm install properties-parser\n\nAlternatively you can clone this git repository:\n\n\tgit://github.com/xavi-/node-properties-parser.git\n\n## Developed by\n* Xavi Ramirez\n\n## License\nThis project is released under [The MIT License](http://www.opensource.org/licenses/mit-license.php).",
"readmeFilename": "README.markdown",
"repository": {
"type": "git",
"url": "git+https://github.com/xavi-/node-properties-parser.git"
},
"version": "0.2.3"
}