0.0.4 • Published 9 years ago

vow-xamel v0.0.4

Weekly downloads
22
License
-
Repository
github
Last release
9 years ago

vow-xamel NPM version

A vow-shell for the xamel XML serialized/deserializer

How to use

You can get the latest version of the package by running:

npm install vow-xamel

The package proxies the interface of xamel. The only differences being that you should require vow-xamel, the parse() method returns a vow.Promise and doesn't need a callback argument. Putting those together will result in something like this:

var xamel = require('vow-xamel');
var xmlString = '<onion><layer smell="1" /><layer smell="2" /><layer smell="3" /></onion>';

xamel.parse(xmlString)
    .then(function (nodeSet) {
        // do something with the result
    })
    .fail(function (reason) {
        // log the failure
    });

How to contribute

You can start by checking out the repository and then installing the dependencies:

npm install

You can check the compliance with the code style and for JS syntax quality by running:

npm run-script lint

Test can be ran by using the test npm script:

npm run-script test

License

The MIT License

0.0.4

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago