1.0.1 • Published 4 years ago
minimum-maximum v1.0.1
numbers-lib
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);