2.1.0 • Published 5 years ago
@sagarprajapati/tiny v2.1.0
@sagarprajapati/tiny
A tiny function that removes all spaces from a string.
Removes all spaces from a string.
Install
$ npm install @sagarprajapati/tiny
Usage
const tiny = require("@sagarprajapati/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1