# @ocap/util

> utils shared across multiple forge js libs, works in both node.js and browser

Latest version **1.30.24** (published 2026-05-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @ocap/util
pnpm add @ocap/util
yarn add @ocap/util
bun add @ocap/util
```

## Health

**Score 60/100 (C)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.30.24 |
| Published | 2026-05-14 |
| First published | 2021-02-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 87.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wangshijun |
| Maintainers | wangshijun, polunzh, mave99a |
| Keywords | arcblock, browser, sdk |

## Links

- npm: https://www.npmjs.com/package/@ocap/util
- Repository: https://github.com/ArcBlock/blockchain
- Homepage: https://www.arcblock.io/docs/blockchain-utils
- Issues: https://github.com/ArcBlock/blockchain/issues
- npm.io page: https://npm.io/package/@ocap/util

## Dependencies (7)

- [bs58](https://npm.io/package/bs58.md) ^5.0.0
- [utf8](https://npm.io/package/utf8.md) ^3.0.0
- [bn.js](https://npm.io/package/bn.js.md) 5.2.3
- [ipaddr.js](https://npm.io/package/ipaddr.js.md) ^2.1.0
- [base64-url](https://npm.io/package/base64-url.md) ^2.3.3
- [@ocap/types](https://npm.io/package/@ocap/types.md) 1.30.24
- [@types/bn.js](https://npm.io/package/@types/bn.js.md) ^5.2.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.30.24 (latest) — 2026-05-14
- 1.30.23 — 2026-05-13
- 1.30.22 — 2026-05-13
- 1.30.21 — 2026-05-12
- 1.30.20 — 2026-05-12
- 1.30.19 — 2026-05-12
- 1.30.18 — 2026-05-11
- 1.30.17 — 2026-05-11
- 1.30.16 — 2026-05-10
- 1.30.15 — 2026-05-08
- 1.30.14 — 2026-05-08
- 1.30.13 — 2026-05-08
- 1.30.12 — 2026-05-05
- 1.30.11 — 2026-05-03
- 1.30.10 — 2026-04-22
- … 613 more at https://npm.io/package/@ocap/util/versions

## README

# OCAP Util

## Usage

```shell
bun install @ocap/util
```

Then:

```javascript
// TODO
```

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