# set-pro

> 数组操作实践总结

Latest version **1.0.5** (published 2019-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install set-pro
pnpm add set-pro
yarn add set-pro
bun add set-pro
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-02-13 |
| First published | 2019-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | liumiao |
| Maintainers | eoyo |
| Keywords | typescript, array, functional |

## Links

- npm: https://www.npmjs.com/package/set-pro
- npm.io page: https://npm.io/package/set-pro

## Dependencies (1)

- [fix-obj](https://npm.io/package/fix-obj.md) ^1.0.4

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-02-13
- 1.0.4 — 2019-01-15
- 1.0.3 — 2019-01-15
- 1.0.2 — 2019-01-15
- 1.0.1 — 2019-01-15
- 1.0.0 — 2019-01-15

## README

# 使用方式
```js
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

## 集合, 即数组. 

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

# set-pro 1.1.x

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

---
_Source: https://npm.io/package/set-pro · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
