2.0.1 • Published 4 years ago

@naveen7892/tiny v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

GitHub issues

Removes all spaces from a string.

Install

$ npm install @naveen7892/tiny

Usage

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

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

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

Note:

This is a sample-npm-package

Publishing sample NPM package following the tutorial https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

Commands used:

> npm adduser
or
> npm login

> npm publish --access=public