GT2/GT2-iOS/node_modules/xmlbuilder/package.json

102 lines
4.7 KiB
JSON

{
"_args": [
[
{
"raw": "xmlbuilder@8.2.2",
"scope": null,
"escapedName": "xmlbuilder",
"name": "xmlbuilder",
"rawSpec": "8.2.2",
"spec": "8.2.2",
"type": "version"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/plist"
]
],
"_from": "xmlbuilder@8.2.2",
"_id": "xmlbuilder@8.2.2",
"_inCache": true,
"_location": "/xmlbuilder",
"_nodeVersion": "4.4.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/xmlbuilder-8.2.2.tgz_1460102388901_0.18738110782578588"
},
"_npmUser": {
"name": "oozcitak",
"email": "oozcitak@gmail.com"
},
"_npmVersion": "2.14.20",
"_phantomChildren": {},
"_requested": {
"raw": "xmlbuilder@8.2.2",
"scope": null,
"escapedName": "xmlbuilder",
"name": "xmlbuilder",
"rawSpec": "8.2.2",
"spec": "8.2.2",
"type": "version"
},
"_requiredBy": [
"/plist"
],
"_resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-8.2.2.tgz",
"_shasum": "69248673410b4ba42e1a6136551d2922335aa773",
"_shrinkwrap": null,
"_spec": "xmlbuilder@8.2.2",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/plist",
"author": {
"name": "Ozgur Ozcitak",
"email": "oozcitak@gmail.com"
},
"bugs": {
"url": "http://github.com/oozcitak/xmlbuilder-js/issues"
},
"contributors": [],
"dependencies": {},
"description": "An XML builder for node.js",
"devDependencies": {
"coffee-coverage": "*",
"coffee-script": "*",
"coveralls": "*",
"istanbul": "*",
"mocha": "*"
},
"directories": {},
"dist": {
"shasum": "69248673410b4ba42e1a6136551d2922335aa773",
"tarball": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-8.2.2.tgz"
},
"engines": {
"node": ">=4.0"
},
"gitHead": "ab5987b12bc06e4da8c37cd7fec8f93085d96d28",
"homepage": "http://github.com/oozcitak/xmlbuilder-js",
"keywords": [
"xml",
"xmlbuilder"
],
"license": "MIT",
"main": "./lib/index",
"maintainers": [
{
"name": "oozcitak",
"email": "oozcitak@gmail.com"
}
],
"name": "xmlbuilder",
"optionalDependencies": {},
"readme": "# xmlbuilder-js\n\nAn XML builder for [node.js](https://nodejs.org/) similar to\n[java-xmlbuilder](https://github.com/jmurty/java-xmlbuilder).\n\n[![License](http://img.shields.io/npm/l/xmlbuilder.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n[![NPM Version](http://img.shields.io/npm/v/xmlbuilder.svg?style=flat-square)](https://npmjs.com/package/xmlbuilder)\n[![NPM Downloads](https://img.shields.io/npm/dm/xmlbuilder.svg?style=flat-square)](https://npmjs.com/package/xmlbuilder)\n\n[![Build Status](http://img.shields.io/travis/oozcitak/xmlbuilder-js.svg?style=flat-square)](http://travis-ci.org/oozcitak/xmlbuilder-js)\n[![Dev Dependency Status](http://img.shields.io/david/dev/oozcitak/xmlbuilder-js.svg?style=flat-square)](https://david-dm.org/oozcitak/xmlbuilder-js)\n[![Code Coverage](https://img.shields.io/coveralls/oozcitak/xmlbuilder-js.svg?style=flat-square)](https://coveralls.io/github/oozcitak/xmlbuilder-js)\n\n### Installation:\n\n``` sh\nnpm install xmlbuilder\n```\n\n### Usage:\n\n``` js\nvar builder = require('xmlbuilder');\nvar xml = builder.create('root')\n .ele('xmlbuilder')\n .ele('repo', {'type': 'git'}, 'git://github.com/oozcitak/xmlbuilder-js.git')\n .end({ pretty: true});\n\nconsole.log(xml);\n```\n\nwill result in:\n\n``` xml\n<?xml version=\"1.0\"?>\n<root>\n <xmlbuilder>\n <repo type=\"git\">git://github.com/oozcitak/xmlbuilder-js.git</repo>\n </xmlbuilder>\n</root>\n```\n\nIt is also possible to convert objects into nodes:\n\n``` js\nbuilder.create({\n root: {\n xmlbuilder: {\n repo: {\n '@type': 'git', // attributes start with @\n '#text': 'git://github.com/oozcitak/xmlbuilder-js.git' // text node\n }\n }\n }\n});\n```\n\nIf you need to do some processing:\n\n``` js\nvar root = builder.create('squares');\nroot.com('f(x) = x^2');\nfor(var i = 1; i <= 5; i++)\n{\n var item = root.ele('data');\n item.att('x', i);\n item.att('y', i * i);\n}\n```\n\nThis will result in:\n\n``` xml\n<?xml version=\"1.0\"?>\n<squares>\n <!-- f(x) = x^2 -->\n <data x=\"1\" y=\"1\"/>\n <data x=\"2\" y=\"4\"/>\n <data x=\"3\" y=\"9\"/>\n <data x=\"4\" y=\"16\"/>\n <data x=\"5\" y=\"25\"/>\n</squares>\n```\n\nSee the [wiki](https://github.com/oozcitak/xmlbuilder-js/wiki) for details.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/oozcitak/xmlbuilder-js.git"
},
"scripts": {
"postpublish": "rm -rf lib",
"prepublish": "coffee -co lib src",
"test": "mocha && istanbul report text lcov"
},
"version": "8.2.2"
}