1.4.0 • Published 3 years ago
@eadcodes/tiny v1.4.0
@eadcodes/tiny
Removes all spaces from a string.
Install
$ npm install @eadcodes/tiny
Usage
const tiny = require("@eadcodes/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1