UNPKG

@onekuma/seq

Version:
24 lines (15 loc) 443 B
# @onekuma/seq [![version](https://img.shields.io/npm/v/@onekuma/seq?color=rgb%2850%2C203%2C86%29&label=@onekuma/seq)](https://www.npmjs.com/package/@onekuma/seq) OneKuma sequence library. ```bash pnpm i @onekuma/seq ``` ## Usage ```ts import { Seq } from '@onekuma/seq' const seq = Seq.of(1, 2, 3) const odd = seq.filter(x => x % 2 == 1) const arr = odd.toArray() ``` ## License MIT License © 2023 [XLor](https://github.com/yjl9903)