/mynpk

My node package for string operation

Primary LanguageJavaScriptMIT LicenseMIT

mynpk

alt text alt text
My node package for string operation:+1:

References:-

Courtesy and Reference: Fee Code Camp ->Node Package, Publish.

Removes all spaces from a string.

IDE,tools:-

Node.js CLI, VS Code.

Install

$ npm install @jakes2255/mynpk

Usage

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