@bamblehorse/tiny

Removes all spaces from a string


Keywords
tiny, npm, package, bamblehorse
License
MIT
Install
npm install @bamblehorse/tiny@2.0.0

Documentation

@bamblehorse/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @bamblehorse/tiny

Usage

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

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

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