# @modern-kit/utils

> modern-kit/utils

Latest version **3.4.0** (published 2026-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @modern-kit/utils
pnpm add @modern-kit/utils
yarn add @modern-kit/utils
bun add @modern-kit/utils
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.4.0 |
| Published | 2026-09-30 |
| First published | 2024-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=24 |
| Dependencies | 0 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 158 |
| Author | ssi02014 <ssi02014@naver.com> |
| Maintainers | ssi02014 |
| Keywords | react, next, utils, component, ui, hooks, custom hooks |

## Links

- npm: https://www.npmjs.com/package/@modern-kit/utils
- Repository: https://github.com/modern-agile-team/modern-kit
- Homepage: https://modern-agile-team.github.io/modern-kit
- Issues: https://github.com/modern-agile-team/modern-kit/issues
- npm.io page: https://npm.io/package/@modern-kit/utils

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 3.4.0 (latest) — 2026-09-30
- 3.3.0 — 2026-07-22
- 3.2.0 — 2026-05-10
- 3.1.0 — 2026-03-16
- 2.7.0 — 2025-09-29
- 2.6.0 — 2025-09-07
- 2.5.0 — 2025-07-25
- 2.4.0 — 2025-07-11
- 2.3.1 — 2025-05-07
- 2.3.0 — 2025-04-25
- 2.2.0 — 2025-04-13
- 2.1.0 — 2025-03-16
- 2.0.2 — 2025-01-15
- 2.0.1 — 2025-01-15
- 2.0.0 — 2025-01-15
- … 38 more at https://npm.io/package/@modern-kit/utils/versions

## README

# @modern-kit/utils <a href="https://www.npmjs.com/package/@modern-kit/utils" target="_blank"><img align="center" src="https://img.shields.io/npm/v/@modern-kit/utils.svg" /></a>

클라이언트 개발에 유용한 `유틸리티 함수`를 제공하는 라이브러리입니다.

<br />

## Documentation
`@modern-kit`의 공식 문서는 아래 웹사이트에서 확인하실 수 있습니다
- <a href="https://modern-agile-team.github.io/modern-kit" target="_blank">https://modern-agile-team.github.io/modern-kit</a>

<br />

## Download
```shell
npm i @modern-kit/utils
```

```shell
yarn add @modern-kit/utils
```


```shell
pnpm i @modern-kit/utils
```

<br />

## Usage

```ts
import { flatten } from '@modern-kit/utils';

const arr = [1, [2, [3, 4], 5]];
const result = flatten(arr); // [1, 2, 3, 4, 5]
```
```ts
// SubPath 사용 예시
// tsconfig moduleResolution 옵션이 `bundler`일 경우
import { flatten } from '@modern-kit/utils/array/flatten';
// tsconfig moduleResolution 옵션이 `node`일 경우
import { flatten } from '@modern-kit/utils/dist/array/flatten';

const arr = [1, [2, [3, 4], 5]];
const result = flatten(arr); // [1, 2, 3, 4, 5]
```

<br />

## License
MIT © Modern Agile. See [LICENSE](../../LICENSE) for details.

<br />

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