1.1.1 • Published 6 months ago

bonish-js v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Usage

Step 1:

Make sure Node.js and Npm is installed. If not visit here. To verify:

node --version
npm --version
Step 2:

Install the package bonish-js

npm install -g bonish-js
Step 3:

START BONISHING...

bonish path-to-your-file.js
Use the following for an example:

Create a file named factorial.js and add following content.

function calculateFactorial(n) {
    if (n === 0) {
        return 1;
    }
    return n * calculateFactorial(n - 1);
}

const number = 5;
const result = calculateFactorial(number);
console.log(`The factorial of ${number} is ${result}`);

And now in your terminal,

bonish ./factorial.js

YES: That's IT...

1.1.1

6 months ago

1.1.0

6 months ago

1.0.0

8 months ago