Intra-XML White Space Gobbler - library to remove all "whitespace only" gaps between nodes of XML marked up text.
npm install ixwsg --save
var ixwsg = require('./index'), gobble = ixwsg.gobble;
var xmlWithSomeWhitespace = 'hello \t \r \f \v \n world';
console.log(gobble(xmlWithSomeWhitespace));
npm test
- 0.1.0 Initial release