Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 558 Bytes

File metadata and controls

25 lines (17 loc) · 558 Bytes

@franki/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @franki/tiny

Usage

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

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

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