/tiny

The tiniest npm module

MIT LicenseMIT

@khashi/tiny

npm NPM

Removes all spaces from a string.

Install

$ npm install @khashi/tiny

Usage

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

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

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

License

@khashi/tiny is released under the terms of the MIT License.