@arno07/tiny

Removes all spaces from a string.

Usage no npm install needed!

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

README

@arno07/tiny

Removes all spaces from a string.

Install

$ npm install @arno07/tiny

Usage

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

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

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