1.0.2 • Published 5 years ago
@arvindbkushwaha/localmodule v1.0.2
Introduction
This module constaints basic functionality of calculater.
Learn more to make your own badge.
<sheilds>
: https://shields.io/
Installation
Local module requires Node.js v4+ to run. Install the dependencies and devDependencies and start the server. Install the local module by using command
$ npm install @arvindbkushwaha/localmodule
or
$npm i @arvindbkushwaha/localmodule
Usage
First import the module into your application after installation
import {calc} from ('./LocalModule.js');
For Addition
console.log("Addition:"+calc.add(5,4));
For Subtraction
console.log("Addition:"+calc.subtract(5,4));
For Division
console.log("Division:"+calc.divide(5,4));
For Multiply
console.log("Multiplication:"+calc.multiply(5,4))
License
MIT