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