Skip to content

adrianparker/ixwsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Intra-XML White Space Gobbler

Resources

Stars

Watchers

Forks

Packages

No packages published