
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
array_way_bank
Advanced tools
shennanya_publish direction for use数组的一些操作的封装,共11个方法
##下载
npm i shennanya_publish
##引入及使用 ``` let {methodName} = require("shennanya_publish") methodName("参数")
```
##方法名字加用法说明
dropSortArr作用:排序降序Array
使用:dropSortArr(传入数组)
注意:数组每一项为数字或字符串格式的数字
litreSortArr作用:排序升序Array
使用:litreSortArr(传入数组)
注意:数组每一项为数字或字符串格式的数字
deWeightSortArr作用:去重排序Array
使用:deWeightSortArr(传入数组)
disturbSortArr作用:打乱Array顺序
使用:disturbSortArr(传入数组)
totalSortArr作用:求Array总和
使用:totalSortArr(传入数组)
注意:数组每一项为数字或字符串格式的数字
averageSortArr作用:求Array平均数
使用:averageSortArr(传入数组)
注意:数组每一项为数字或字符串格式的数字
turnObjSortArr作用:数组转对象
使用:turnObjSortArr(传入数组)
turnArraySortObj作用:对象转数组
使用:turnArraySortObj(传入对象)
注意:传入对象格式为“{ '0': 1, '1': 2, '2': 5}”
randomNumber作用:随机整数
使用:randomNumber(min,max)
注意:min是最小值,max是最大值
randomArray作用:随机数组
使用:randomArray(length,mun)
注意:接收第一个参数为数组的长度,第二个参数为数组的最大值
randomDifferentArray作用:随机数组,并无重复
使用:randomDifferentArray(length,mun)
注意:length不要大于mun,接收第一个参数为数组的长度,第二个参数为数组的最大值
FAQs
数组的一些操作的封装,共11个方法 ##下载 ``` npm i shennanya_publish ```
We found that array_way_bank demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.