Strip all whitespace from a string
npm install remove-whitespace


Strip all whitespace from the given string. This is different from
[String.prototype.trim()][trim-url] which only removes white spaces from the beginning and
end of a string.
bash
$ npm i --save remove-whitespace
`Overview
`js
var removeWhitespace = require('remove-whitespace');removeWhitespace(' foo bar '); // => 'foobar'
removeWhitespace('foo\n bar\n'); // => 'foo\nbar\n'
``