1.0.1 • Published 5 years ago
@mahsashadi/spacekiller v1.0.1
@mahsashadi/spacekiller
Removes all spaces from a string.
Install
$ npm install @mahsashadi/spacekiller
Usage
const spacekiller = require("@mahsashadi/spacekiller");
spacekiller("So much space!");
//=> "Somuchspace!"
spacekiller(1337);
//=> Uncaught TypeError: spacekiller wants a string!
// at spacekiller (<anonymous>:2:41)
// at <anonymous>:1:1