+15
-16
| { | ||
| "name": "gexode", | ||
| "version": "0.1.0", | ||
| "description": "Primitive XML generator for node.js", | ||
| "main": "lib/index.js", | ||
| "scripts": { | ||
| "test": "make test" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git@github.com:pirxpilot/gexode.git" | ||
| }, | ||
| "keywords": [ | ||
| "xml" | ||
| ], | ||
| "version": "0.0.3", | ||
| "author": "Damian Krzeminski <pirxpilot@code42day.org>", | ||
| "engines": { | ||
| "node": ">=0.2.0" | ||
| "author": "Damian Krzeminski <pirxpilot@code42day.com>", | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "https://github.com/pirxpilot/gexode/issues" | ||
| }, | ||
| "main": "lib/index.js", | ||
| "repository": [ | ||
| { | ||
| "type": "git", | ||
| "url": "http://github.com/pirxpilot/gexode.git" | ||
| } | ||
| ], | ||
| "devDependencies": { | ||
| "expresso": "*", | ||
| "jshint": "~2" | ||
| }, | ||
| "scripts": { | ||
| "test": "make test" | ||
| "jshint": "~2", | ||
| "mocha": "~1" | ||
| } | ||
| } |
+18
-8
@@ -1,16 +0,26 @@ | ||
| gexode | ||
| ============ | ||
| [](http://travis-ci.org/pirxpilot/gexode) | ||
| [](http://badge.fury.io/js/gexode) | ||
| # gexode | ||
| Primitive XML generator for node.js | ||
| Example: | ||
| ## Example | ||
| var gexode = require(gexode), doc = gexode.doc, elem = gexode.elem; | ||
| ```javascript | ||
| var gexode = require(gexode), doc = gexode.doc, elem = gexode.elem; | ||
| var car = doc(elem('car', {wheels: 4}).text('Volvo')); | ||
| car.write(out); | ||
| var car = doc(elem('car', {wheels: 4}).text('Volvo')); | ||
| car.write(out); | ||
| ``` | ||
| renders as: | ||
| <?xml version='1.0' encoding='UTF-8'?> | ||
| <car wheels='4'>Volvo</car> | ||
| ``` | ||
| <?xml version='1.0' encoding='UTF-8'?> | ||
| <car wheels='4'>Volvo</car> | ||
| ``` | ||
| ## License | ||
| MIT |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2640
10.32%0
-100%27
58.82%0
-100%0
-100%