CedarBlocks / tiny

Removes all spaces from a string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@jldensmore/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @jldensmore/tiny -s

Usage

const tiny = require("@jldensmore/tiny");

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

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

About

Removes all spaces from a string

License:MIT License


Languages

Language:JavaScript 100.0%