@npmdevtools/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

npm (scoped) npm bundle size (minified)

@npmdevtools/tiny

It's Amazing !

Install

$ npm install @npmdevtools/tiny

Usage

import {tiny} from "@npmdevtools/tiny"

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

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