popsicle-xml

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i popsicle-xml

Weekly Downloads

7

Version

0.1.0

License

MIT

Last publish

Collaborators

  • brettneese