1.0.3 • Published 4 years ago

secondmax v1.0.3

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

what is this?

This is used to find second maximum and also remove duplicate in the array

Installation

npm i secondmax --save

Then...

import {secondmax} from 'secondmax'


secondmax([10,20,80,50,50,50]) //It is also delete duplicate entry and find second max

Package.Json //Add module to project package.json

"type":"module"

Options

sorting array

secondmax(10,20,80,50,150) or secondmax(10,20,50,50,50) or secondMaxx(12,34,56,78,67,-90)

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago