ixwsg

0.1.1 • Public • Published

ixwsg

Intra-XML White Space Gobbler - library to remove all "whitespace only" gaps between nodes of XML marked up text.

Installation

npm install ixwsg --save

Usage

var ixwsg = require('./index'), gobble = ixwsg.gobble;

var xmlWithSomeWhitespace = 'hello \t \r \f \v \n world';

console.log(gobble(xmlWithSomeWhitespace));

Tests

npm test

Release History

  • 0.1.0 Initial release

Readme

Keywords

Package Sidebar

Install

npm i ixwsg

Weekly Downloads

8

Version

0.1.1

License

MIT

Last publish

Collaborators

  • adrianparker