@abhiyadav1323/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

@abhiyadav1323/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @abhiyadav1323/tiny

Usage

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

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

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