Skip to content

stevensd2m/spaces-remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

Removes all spaces from a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published