@shahisa/mars

Removes all spaces from a string

Usage no npm install needed!

<script type="module">
  import shahisaMars from 'https://cdn.skypack.dev/@shahisa/mars';
</script>

README

@shahisa/mars

npm(scoped)

Removes all spaces from string.

Install

$ npm install @shahisa/mars

Usage

const mars = require("@shahisa/mars");

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

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