1.0.0 • Published 3 years ago
local-module-tejraj-demo v1.0.0
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
1.0.0
3 years ago