/mars

Node module that removes all spaces from string.

Primary LanguageJavaScriptMIT LicenseMIT

@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