# @code-like-a-carpenter/assert

> Wrapper around node's assert module which accepts a Producer instead of a string or already-constructed exception

Latest version **2.4.1** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @code-like-a-carpenter/assert
pnpm add @code-like-a-carpenter/assert
yarn add @code-like-a-carpenter/assert
bun add @code-like-a-carpenter/assert
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.4.1 |
| Published | 2026-09-12 |
| First published | 2023-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | 22.x |
| Dependencies | 0 |
| Unpacked size | 46.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Ian Remmel |
| Maintainers | ianwremmel |

## Links

- npm: https://www.npmjs.com/package/@code-like-a-carpenter/assert
- Repository: https://github.com/code-like-a-carpenter/workbench
- Homepage: https://www.github.com/code-like-a-carpenter/workbench/tree/main/packages/@code-like-a-carpenter/assert
- Issues: https://www.github.com/code-like-a-carpenter/workbench/issues
- npm.io page: https://npm.io/package/@code-like-a-carpenter/assert

## Recent versions

- 2.4.1 (latest) — 2026-09-12
- 2.4.0 — 2025-04-11
- 2.3.2 — 2024-06-11
- 2.3.1 — 2024-06-08
- 2.3.0 — 2024-06-08
- 2.2.7 — 2024-06-02
- 2.2.6 — 2024-03-23
- 2.2.5 — 2024-03-23
- 2.2.4 — 2024-03-15
- 2.2.3 — 2024-03-15
- 2.2.2 — 2024-02-07
- 2.2.1 — 2024-02-03
- 2.2.0 — 2024-02-02
- 2.1.0 — 2024-02-02
- 2.0.0 — 2024-01-23
- … 5 more at https://npm.io/package/@code-like-a-carpenter/assert/versions

## README

# @code-like-a-carpenter/assert

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

> Wrapper around node's assert module which accepts a Producer instead of a
> string or already-constructed exception

## Table of Contents

-   [Install](#install)
-   [Usage](#usage)
-   [Maintainer](#maintainer)
-   [Contributing](#contributing)
-   [License](#license)

## Install

```bash
npm i @code-like-a-carpenter/assert
```

## Usage

## Maintainer

[Ian Remmel](https://www.ianwremmel.com)

## Contributing

Please see contributing guidelines at the
[project homepage](https://www.github.com/code-like-a-carpenter/workbench/).

## License

MIT © [Ian Remmel](https://www.ianwremmel.com) 2023 until at least now

---
_Source: https://npm.io/package/@code-like-a-carpenter/assert · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
