2.0.0 • Published 4 years ago
@cjonnpm/tiny v2.0.0
@cjonnpm/tiny
Removes all spaces from a string.
Install
$ npm install @cjonnpm/tiny
Usage
const tiny = require('@cjonnpm/tiny');
tiny('So much space!');
//=> 'Somuchspace!'
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1