2.0.0 • Published 2 years ago

@lee-treehouse/tiny-npm-library v2.0.0

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

@lee-treehouse/tiny-npm-library

https://www.npmjs.com/package/@lee-treehouse/tiny-npm-library

based on https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

Removes all spaces from a string.

Install

$ npm install @lee-treehouse/tiny-npm-library

Usage

const tiny = require("@lee-treehouse/tiny-npm-library");

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

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

2 years ago

1.0.0

2 years ago