New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

array-min-max-plus

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-min-max-plus

1. 用于找出全正数的数组里面的最小值或是最大值 第一个参数是String,为max || min 第二个参数是 需要找的数组

latest
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

array-min-max-plus@1.2.1 支持vue2,以及原生

  • 用于找出全正数的数组里面的最小值或是最大值 第一个参数是String,为max || min 第二个参数是 需要找的数组

  • 例子 const { ArrayMinMaxPlus } = require('array-min-max-plus')

const arr = [1,2,3,4,5,6]

console.log(ArrayMinMaxPlus.maxAndMinMath('max',arr)) // 6

console.log(ArrayMinMaxPlus.maxAndMinMath('min',arr)) // 1

FAQs

Package last updated on 05 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts