1.0.1 • Published 5 years ago

@mahsashadi/spacekiller v1.0.1

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

@mahsashadi/spacekiller

Removes all spaces from a string.

Install

$ npm install @mahsashadi/spacekiller

Usage

const spacekiller = require("@mahsashadi/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.1

5 years ago

1.0.0

5 years ago