1.1.0 • Published 7 years ago

@mamadoo/spacekiller v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

@mamadoo/spacekiller

Removes all spaces from a string.

Install

$ npm install @mamadoo/spacekiller

Usage

const spacekiller = require("@mamadoo/spacekiller");

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

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