New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@curong/array

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curong/array

`@curong/array` 包含以下的方法:

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@curong/array

@curong/array 包含以下的方法:

  • flat: 展平一个多维数组
  • fromArrayLike: 将一个类数组转换为数组
  • isMultiDimensional: 是不是一个多维数组 (至少是二维)
  • maxLengthIndex: 获取字符串数组中最大长度的项的索引位置
  • maxRecursionDepth: 计算数组的最大递归深度 (即数组中包含数组)
  • minLengthIndex: 获取字符串数组中最小长度的项的索引位置
  • shuffle: 将一个数组随机打乱
  • sortByEng: 按照单词的所有字母全量排序
  • sortByEngInitials: 根据英文首字母排序
  • sortToIndexes: 以行的长度进行排列,并以升序的排列方式返回索引数组
  • sortWords: 给单词数组排序,中文按照音序排序,英文按照整个单词全量排序
  • splitByStep: 将一个数组按照指定的步长进行拆分
  • uniqueFromPrimitive: 对相同类型的基本类型的值或包含相同类型基本类型值的数组去重

FAQs

Package last updated on 13 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc