# @tepez/ts-utils

> Typescript utility functions

Latest version **0.2.1** (published 2026-02-26) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @tepez/ts-utils
pnpm add @tepez/ts-utils
yarn add @tepez/ts-utils
bun add @tepez/ts-utils
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2026-02-26 |
| First published | 2020-08-06 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tom Yam |
| Maintainers | tomyam1 |

## Links

- npm: https://www.npmjs.com/package/@tepez/ts-utils
- Repository: https://github.com/tepez/ts-utils
- Homepage: https://github.com/tepez/ts-utils#readme
- Issues: https://github.com/tepez/ts-utils/issues
- npm.io page: https://npm.io/package/@tepez/ts-utils

## Dependencies (1)

- [utility-types](https://npm.io/package/utility-types.md) ^3.10.0

## Recent versions

- 0.2.1 (latest) — 2026-02-26
- 0.2.0 — 2026-02-26
- 0.1.3 — 2021-12-28
- 0.1.2 — 2021-12-28
- 0.1.1 — 2020-08-23
- 0.1.0 — 2020-08-09
- 0.0.0 — 2020-08-06

## README

# ts-utils
> Typescript utility functions

[![npm version](https://badge.fury.io/js/ts-utils.svg)](https://badge.fury.io/js/ts-utils)

## Install

```
npm install --save ts-utils
```

## API

* `assertT`

* `assignSame`
* `assignPartial`
* `assignToPartial`
* `assignSameToEmpty`
* `assignPartialToEmpty`
* `assignToPartialOnEmpty`
* `assignToDiff`
* `assignDiff`

* `allUnionTypeValues`

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