@abutterworth/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

@abutterworth/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @abutterworth/tiny

Usage

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

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

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