challengerST / tiny

πŸ™ƒ Npm package - Remove all spaces from a string.

Home Page:https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@bamblehorse/tiny

npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @bamblehorse/tiny

Usage

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

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

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

About

πŸ™ƒ Npm package - Remove all spaces from a string.

https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

License:MIT License


Languages

Language:JavaScript 100.0%