1.0.1 • Published 5 years ago

@stevensd2m/spaces-remover v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@stevensd2m/spaces-remover

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

##Install

$ npm install @stevensd2m/spaces-remover

##Usage

const spacesRemover = require("@stevensd2m/spaces-remover")

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

spacesRemover(1337);
//=> Uncaught TypeError: A string was expected!
//    at spacesRemover (<anonymous>:2:41)
//    at <anonymous>:1:1