@aman_manocha_/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

@aman_manocha_/tiny

npm (scoped)

Removes all spaces from a string.

Install

$ npm install @aman_manocha_/tiny

Usage

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

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

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