@dataak/space-killer
Removes all spaces from a string.
Install
$ npm install @dataak/space-killer
Usage
const spacekiller = require("@dataak/space-killer");
spacekiller("So much space!");
//=> "Somuchspace!"
spacekiller(1337);
//=> Uncaught TypeError: spacekiller wants a string!
// at spacekiller (<anonymous>:2:41)
// at <anonymous>:1:1