local-module-tejraj-demo
v1.0.0
Published
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)
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/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
