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

set-pro

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

set-pro

数组操作实践总结

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

使用方式

import { See } from 'set-pro';

See([1, 2, 4, 'abc', 'sing']).classify(one => typeof one);
// => { number : ArrayPro([1, 2, 4]), string: ArrayPro(['abc', 'sing' ]) }

set-pro 1.0.x

集合, 即数组.

  • 分类. classify 不同的分支
  • 遍历. each 通用遍历函数;
  • 修改. modify 修改数组中的每个成员的值
  • 聚焦. focus 缩小数组的关注区间
  • 分割. separate 作为间隔值
  • 切割. trim 去除某些值
  • 插分. insert 插入间隔

set-pro 1.1.x

  • 去重. identify 使得数据具有唯一标识
  • 排列. A - permutation ?
  • 组合. C - combination ?

Keywords

typescript

FAQs

Package last updated on 13 Feb 2019

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