@devniklesh/remove-spaces
v2.0.1
Published
Removes spaces in a string
Downloads
6
Maintainers
Readme
@devniklesh/remove-spaces
Removes all spaces from a string.
Install
$ npm install @devniklesh/remove-spaces
Usage
const removeSpaces = require("@devniklesh/remove-spaces");
removeSpaces("So much space!");
//=> "Somuchspace!"
removeSpaces(1337);
//=> Uncaught TypeError: Remove spaces package wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1