0.0.1 • Published 12 years ago

nxmlpp v0.0.1

Weekly downloads
6
License
-
Repository
github
Last release
12 years ago

nxmlpp

nxmlpp is simple xml pretty printer for node.js

It's based on https://github.com/isaacs/sax-js and was initially started as variant of https://github.com/isaacs/sax-js/blob/master/examples/pretty-print.js that can be used as library.

Usage example

var nxmlpp = require('nxmlpp');
console.log(nxmlpp.strPrint('<root><a/><b/></root>'));

Command line usage

nxmlpp [input [output]]

stdin/stdout will be used if some of arguments are omitted.