@alfsnd/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

AUR version npm bundle size (minified)

@alfsnd/tiny

Removes all spaces from a string

Install

npm install @alfsnd/tiny

Usage

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

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

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