# vest-utils

> Internal utility collection used across the Vest ecosystem (Vest, n4s/enforce, Context, and more). It includes small, focused helpers such as:

Latest version **2.0.18** (published 2026-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install vest-utils
pnpm add vest-utils
yarn add vest-utils
bun add vest-utils
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.18 |
| Published | 2026-10-03 |
| First published | 2022-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 288.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | ealush |
| Maintainers | ealush |

## Links

- npm: https://www.npmjs.com/package/vest-utils
- Repository: https://github.com/ealush/vest
- Homepage: https://github.com/ealush/vest#readme
- Issues: https://github.com/ealush/vest.git/issues
- npm.io page: https://npm.io/package/vest-utils

## Recent versions

- 2.0.18 (latest) — 2026-10-03
- 2.0.18-nightly-20261003-b13b (nightly) — 2026-10-03
- 2.0.14-next-20260318-d8c2 (next) — 2026-03-18
- 1.3.3-dev-20241111-bedd (dev) — 2024-11-11
- 0.0.4-rc (rc) — 2022-06-23
- 2.0.18-nightly-20261002-b13b — 2026-10-02
- 2.0.18-nightly-20260716-9eba — 2026-07-16
- 2.0.18-nightly-20260715-9eba — 2026-07-15
- 2.0.18-nightly-20260714-9eba — 2026-07-14
- 2.0.18-nightly-20260713-9eba — 2026-07-13
- 2.0.18-nightly-20260712-9eba — 2026-07-12
- 2.0.18-nightly-20260711-7e44 — 2026-07-11
- 2.0.18-nightly-20260710-7e44 — 2026-07-10
- 2.0.18-nightly-20260709-7e44 — 2026-07-09
- 2.0.18-nightly-20260708-7e44 — 2026-07-08
- … 253 more at https://npm.io/package/vest-utils/versions

## README

# vest-utils

Internal utility collection used across the Vest ecosystem (Vest, n4s/enforce, Context, and more). It includes small, focused helpers such as:

- Type guards: `isArray`, `isBoolean`, `isString`, `isNumeric`, `isPromise`, and related predicates.
- Data helpers: `asArray`, `defaultTo`, `nonnullish`, `text`, `toNumber`, comparison utilities, and length helpers.
- Control flow: `either`, `bindNot`, `callEach`, `optionalFunctionValue`, `deferThrow`.
- Lightweight primitives: cache, pub/sub bus, simple state machines, and result wrappers.

These modules are maintained for internal consumption and may change between versions. Prefer using higher-level packages (`vest`, `n4s`, `context`, etc.) unless you have a specific need for a particular helper.

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