1.0.2 • Published 5 years ago
@dejanbetos/test v1.0.2
@dejanbetos/test
Learning how to create the npm module
Removes all spaces from a string.
Install
$ npm install @dejanbetos/test
Usage
const test = require("@dejanbetos/test");
test("So much space!");
//=> "Somuchspace!"
test(1337);
//=> Uncaught TypeError: Test wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1