1.0.1 • Published 4 years ago

minimum-maximum v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

numbers-lib

simple library to find minimum, maximum from numbers. NPM Version > NPM Version

Installation

Using npm:

$ npm i --save min-max

In Node.js:

const minmax = require('min-max');
const minimum = minmax.min(numberOne, numberTwo, numberThree...);
// You can add as many numbers as you want in arguments.
// const minimum = minmax.min(403, 402, 401, 404);
// console.log(minimum);
const maximum = minmax.max(numberOne, numberTwo, numberThree...);
// You can add as many numbers as you want in arguments.
// const maximum = minmax.max(403, 402, 401, 404);
// console.log(maximum);