@naveen7892/tiny

2.0.1 • Public • Published

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

Package Sidebar

Install

npm i @naveen7892/tiny

Weekly Downloads

3

Version

2.0.1

License

MIT

Unpacked Size

2.28 kB

Total Files

4

Last publish

Collaborators

  • naveen7892