Skip to content

DevNiklesh/remove-spaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@devniklesh/remove-spaces

npm (scoped)

Removes all spaces from a string.

Install

$ npm install @devniklesh/remove-spaces

Usage

const removeSpaces = require("@devniklesh/remove-spaces");

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

removeSpaces(1337);
//=> Uncaught TypeError: Remove spaces package wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1

About

The first npm module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published