2.0.1 • Published 2 years ago

@devniklesh/remove-spaces v2.0.1

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

@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