@davidholmes/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

@davidholmes/tiny

npm (scoped) npm bundle size (minified)

Install

$ npm install @davidholmes/tiny

Usage

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

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

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