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