0.1.0 • Published 8 years ago

popsicle-xml v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Popsicle XMl

Quicky and dirty XML parsing for popsicle. Based on https://github.com/blakeembrey/popsicle-status.

Installation

npm install popsicle-xml --save

Usage

With a body full of XML...

var request = require('popsicle')
var xml = require('popsicle-xml')

request('/users.json').use(xml());

Note that it will fail in terrible ways if the body is not XML. Maybe someday we'll actually catch those errors or be more magical but we're lazy. Also needs tests. Feel free to PR.

License

MIT

0.1.0

8 years ago