@0xsuid/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

tiny

Removes all spaces from a string.

Install

npm install @0xsuid/tiny 

Usage

const tiny = require("@0xsuid/tiny");

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

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