1.1.1 • Published 5 years ago
@manuelpuchta/tiny v1.1.1
tiny
npm module publishing test repo.
Source: How to make a beautiful tiny npm package and publish it <3
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