magnifique-calculator
v1.0.3
Published
```bash const calculator=require('magnifique-calculator') function multiplicationTable(number){ for(var i=1;i<13;i++){ console.log(`${i} * ${number} = ${calculator.multiply(i,number)}`); } } multiplicationTable(4) ``` ## Installa
Downloads
4
Readme
Magnifique calculator
This how you can use the calculator
const calculator=require('magnifique-calculator')
function multiplicationTable(number){
for(var i=1;i<13;i++){
console.log(`${i} * ${number} = ${calculator.multiply(i,number)}`);
}
}
multiplicationTable(4)
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
If this is a brand new project, make sure to create a package.json first with the npm init command.
Installation is done using the npm install command:
npm install magnifique-calculator
usage
const calculator = require('magnifique-calculator');
Error Handling
The divide function throws an error if the second argument is zero, indicating division by zero is not allowed.
Compatibility
This calculator package is compatible with JavaScript environments that support ES6 syntax.
Support
For any questions or issues, please contact the package maintainer at [email protected].