Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 800 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 800 Bytes

tiny

npm module publishing test repo.

Source: How to make a beautiful tiny npm package and publish it <3


npm (scoped) npm bundle size (minified)

Removes all spaces from a string.

Install

$ npm install @manuelpuchta/tiny

Usage

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

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

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