Skip to content

manuelpuchta/tiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published