# @aztec/stdlib

> Javascript types and helper functions for the aztec circuits.

Latest version **5.2.0** (published 2026-08-17) · 0 weekly downloads

## Install

```sh
npm install @aztec/stdlib
pnpm add @aztec/stdlib
yarn add @aztec/stdlib
bun add @aztec/stdlib
```

## 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 | 5.2.0 |
| Published | 2026-08-17 |
| First published | 2025-03-04 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=20.10 |
| Dependencies | 20 |
| Unpacked size | 5.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | zac-williamson, leilawang, charlielye, jaosef, joss-aztecprotocol, ludamad |

## Links

- npm: https://www.npmjs.com/package/@aztec/stdlib
- npm.io page: https://npm.io/package/@aztec/stdlib

## Dependencies (20)

- [zod](https://npm.io/package/zod.md) ^4
- [pako](https://npm.io/package/pako.md) ^2.1.0
- [viem](https://npm.io/package/viem.md) npm:@aztec/viem@2.38.2
- [axios](https://npm.io/package/axios.md) ^1.15.1
- [tslib](https://npm.io/package/tslib.md) ^2.4.0
- [msgpackr](https://npm.io/package/msgpackr.md) ^1.11.2
- [lodash.omit](https://npm.io/package/lodash.omit.md) ^4.5.0
- [@aztec/bb.js](https://npm.io/package/@aztec/bb.js.md) 5.2.0
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) ^4.2.0
- [lodash.times](https://npm.io/package/lodash.times.md) ^4.3.2
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.5.0
- [@aztec/blob-lib](https://npm.io/package/@aztec/blob-lib.md) 5.2.0
- [@aztec/ethereum](https://npm.io/package/@aztec/ethereum.md) 5.2.0
- [@aztec/constants](https://npm.io/package/@aztec/constants.md) 5.2.0
- [@aztec/foundation](https://npm.io/package/@aztec/foundation.md) 5.2.0
- [@aws-sdk/client-s3](https://npm.io/package/@aws-sdk/client-s3.md) ^3.892.0
- [@aztec/l1-artifacts](https://npm.io/package/@aztec/l1-artifacts.md) 5.2.0
- [@aztec/noir-noirc_abi](https://npm.io/package/@aztec/noir-noirc_abi.md) 5.2.0
- [@google-cloud/storage](https://npm.io/package/@google-cloud/storage.md) ^7.15.0
- [json-stringify-deterministic](https://npm.io/package/json-stringify-deterministic.md) 1.0.12

## Recent versions

- 5.2.0 (latest) — 2026-08-17
- 5.3.0-nightly.20260919 (prerelease) — 2026-09-19
- 0.0.1-dev (dev) — 2026-06-26
- 4.4.0-nightly.20260618 (nightly) — 2026-06-18
- 4.3.0-rc.1 (rc) — 2026-05-15
- 0.0.1-commit.fff30aa (commit) — 2026-04-17
- 4.0.0-devnet.4-patch.0 (devnet) — 2026-04-06
- 4.2.0-aztecnr-rc.2 (aztecnr-rc) — 2026-03-26
- 5.0.0-private.20260319 (private) — 2026-03-19
- 5.0.0-patched.20260318 (patched) — 2026-03-18
- 4.0.0-spartan.20260218 (spartan) — 2026-02-18
- 2.0.3-zkpassport (zkpassport) — 2025-12-03
- 3.0.0-manual.20251030 (manual) — 2025-10-30
- 0.0.1-fake-ceab37513c (fake-ceab37513c) — 2025-10-30
- 0.0.1-fake-c83136db25 (fake-c83136db25) — 2025-10-30
- … 1149 more at https://npm.io/package/@aztec/stdlib/versions

## README

# stdlib

Javascript types and helper functions for the aztec circuits.

## To run:

`yarn && yarn test`

## Updating Snapshots

The tests will fail if you've made changes to things like the Public Inputs for the rollup/kernel circuits or the accumulators,
logic, or hashes. This is because snapshot data in places like `src/abis/__snapshots__` will need to be updated for the tests.

You can update the snapshot data by running

```bash
yarn test -u
```

and committing the updated snapshot files.

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