stojics1-lab2.1
v1.0.2
Published
An example and practice using npm
Downloads
2
Readme
Project Title
The purpose of this is to demonstrate the use of npm with examples of functions
Purpose
**BEWARE: This library was published for learning purposes. It is not intended to build software with
Usage
Install it:
npm install stojics/stojics1-lab2.1
**Require it:**
const _ = require('stojics/CMPT315LAB2');**Call it:**
const results = _.firstFunction()`
Documentation
The following functions are currently implemented:
add(num1, num2)
: adds two numbers togethersub(num1, num2)
: subtracts two numbersmult(num1, num2)
: multiplies num1 by num2divi(num1, num2)
: divides num1 by num2