@arvindbkushwaha/localmodule
v1.0.2
Published
This will module will perform basic calculator option
Readme
Introduction
This module constaints basic functionality of calculater.
![Arvind build] (https://img.shields.io/badge/arvind-build-blue?style=flat&logo=appveyor)
![Arvind success] (https://img.shields.io/badge/arvind-success-green?style=flat&logo=appveyor)
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/localmoduleUsage
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
