2.1.0 • Published 5 years ago

@sagarprajapati/tiny v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@sagarprajapati/tiny

A tiny function that removes all spaces from a string.

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @sagarprajapati/tiny

Usage

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

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

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