2.0.0 • Published 4 years ago

@arjunsundaram4/spaceremover v2.0.0

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

https://img.shields.io/npm/v/@arjunsundaram4/spaceremover

@arjunsundaram4/spaceremover

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @arjunsundaram4/spaceremover

Usage

const tiny = require("@arjunsundaram4/spaceremover");

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

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