/removes_spaces-npmModule

a tinest npm module used to remove spaces from the string

Primary LanguageJavaScriptMIT LicenseMIT

@comrade.js/removes_spaces

npm (scoped) npm bundle size (minified) Removes all spaces from a string.

Install

$ npm install @comrade.js/removes_spaces

Usage

const tiny = require("@comrade.js/removes_spaces");

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

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