Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 605 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 605 Bytes

@abdulkhaliq94/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @abdulkhaliq94/tiny

Usage

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

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

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