@wvbe/prettify-xml

1.0.1 • Public • Published

@wvbe/prettify-xml

This is a command-line utility that prettifies the XML coming in from your streamed input.

It is meant to make minified XML easier to read, for those of us who handle XML in a terminal some times.

Installation

To install Node package, run from anywhere:

npm i -g @wvbe/prettify-xml

Usage

Pipe your lines into this sucker like:

cat minified.xml | prettify-xml
curl http://rss.cnn.com/rss/edition.rss | prettify-xml
unzip -p my-word-file.docx word/document.xml | prettify-xml

Roadmap

  • [ ] Embellishing text data with quotes is optional
  • [ ] Respect @xml:space, optionally

Package Sidebar

Install

npm i @wvbe/prettify-xml

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.73 kB

Total Files

4

Last publish

Collaborators

  • wybe.pizza