@akrohn/tiny

Removes all spaces from a string

Usage no npm install needed!

<script type="module">
  import akrohnTiny from 'https://cdn.skypack.dev/@akrohn/tiny';
</script>

README

@akrohn/tiny

(https://www.npmjs.com/package/@akrohn/tiny)

Removes all spaces from a string.

Install

$ npm install @akrohn/tiny

Usage

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

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

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