My node package for string operation:+1:
Courtesy and Reference: Fee Code Camp ->Node Package, Publish.
Removes all spaces from a string.
Node.js CLI, VS Code.
$ npm install @jakes2255/mynpk
const mynpk = require("@jakes2255/mynpk");
mynpk("So much space!");//=> "Somuchspace!"
mynpk(1337);
//=> Uncaught TypeError: Please enter a string!
// at mynpk (:2:41)
// at :1:1
Thank you,
Arun Jacob