@mihail_amosov/factorial-package
v1.0.3
Published
A simple package to calculate the factorial of a number
Downloads
30
Readme
Factorial Package
A simple package to calculate the factorial of a number.
Installation
To install the package, run:
npm install factorial-package
Usage
Import the package and use the factorial function:
const factorial = require('factorial-package');
console.log(factorial(5));