hxpipe

A partial reimplementation of hxpipe

Usage no npm install needed!

<script type="module">
  import hxpipe from 'https://cdn.skypack.dev/hxpipe';
</script>

README

Introduction

This project is a partial clone of hxpipe from w3c's html-xml-utils, written in nodejs javascript. Eventually it should be a drop-in replacement for hxpipe.

Dependencies

Installation

npm install -g hxpipe

Running

haxpipe file.xml
haxpipe < file.xml
curl file.xml | haxpipe

Examples

var Hxpipe = require('hxpipe')
  , fs = require('fs');

fs.createReadStream('file.xml')
  .pipe(new Hxpipe())
  .pipe(process.stdout);

License

MIT