@andres-cruz/tiny

Removes all spaces from a string

Usage no npm install needed!

<script type="module">
  import andresCruzTiny from 'https://cdn.skypack.dev/@andres-cruz/tiny';
</script>

README

@andres-cruz/tiny

npm (scoped)

Removes all spaces from a string.

Install

$ npm install @andres-cruz/tiny

Usage

const tiny = require('@andres-cruz/tiny');

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

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