@ansal_ali/tiny

Removes all spaces from a string

Usage no npm install needed!

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

README

tiny

tiny!!

npm npm bundle size GitHub code size in bytes NPM

It's the tiniest !!!

Getting started

$ npm install @ansal_ali/tiny --save

A tiny function that removes all spaces from a string.

Usage

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

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

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