npm.io
3.1.0 • Published 7 years ago

@ceezv6/tiny

Licence
MIT
Version
3.1.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

@ceezv6/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @ceezv6/tiny

Usage

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

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

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

Keywords