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

/ixwsg/

    Package Sidebar

    Install

    npm i ixwsg

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • adrianparker