Licence
MIT
Version
5.0.0
Deps
0
Size
6 kB
Vulns
0
Weekly
0
@thomas_p/test-npm-package-example
tutorial from 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 @thomas_p/test_package_example
Usage
const removeAllSpaces = require("@thomas_p/test_package_example");
removeAllSpaces("So much space!"); //=> "Somuchspace!"
removeAllSpaces(1337); //=> Uncaught TypeError: Tiny wants a string! // at tiny (41) // at 1