@derkrisz/removewhitespace
Removes all spaces from a string.
Install
$ npm install @derkrisz/removewhitespace
Usage
const removewhitespace = require("@derkrisz/removewhitespace");
removewhitespace("Remove whitespace from this!");
//=> "Removewhitespacefromthis!"
removewhitespace(1234);
//=> TypeError: Provide a string!