1.0.0 • Published 5 years ago

ha_spacekiller v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

@hajarmousavi/ha_spacekiller

Removes all spaces from a string.

Install

$ npm install @hajarmousavi/ha_spacekiller

Usage

const spacekiller = require("@hajarmousavi/ha_spacekiller");

spacekiller("So much space!");
//=> "Somuchspace!"

spacekiller(1337);
//=> Uncaught TypeError: spacekiller wants a string!
//    at spacekiller (<anonymous>:2:41)
//    at <anonymous>:1:1
1.0.0

5 years ago