# @solana-program/compute-budget

> JavaScript client for the Compute Budget program

Latest version **0.18.1** (published 2026-09-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @solana-program/compute-budget
pnpm add @solana-program/compute-budget
yarn add @solana-program/compute-budget
bun add @solana-program/compute-budget
```

## 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; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.18.1 |
| Published | 2026-09-01 |
| First published | 2024-03-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 264.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 10 |
| Maintainers | joncinque, solana-devs |

## Links

- npm: https://www.npmjs.com/package/@solana-program/compute-budget
- Repository: https://github.com/solana-program/compute-budget
- Homepage: https://github.com/solana-program/compute-budget#readme
- Issues: https://github.com/solana-program/compute-budget/issues
- npm.io page: https://npm.io/package/@solana-program/compute-budget

## Recent versions

- 0.18.1 (latest) — 2026-09-01
- 0.18.0 — 2026-08-21
- 0.17.0 — 2026-07-15
- 0.16.0 — 2026-06-16
- 0.15.0 — 2026-03-11
- 0.14.0 — 2026-02-24
- 0.13.0 — 2026-02-06
- 0.12.0 — 2026-01-23
- 0.11.0 — 2025-11-05
- 0.10.0 — 2025-10-13
- 0.9.0 — 2025-09-02
- 0.8.0 — 2025-06-02
- 0.7.0 — 2025-03-03
- 0.6.1 — 2024-11-14
- 0.6.0 — 2024-11-05
- … 13 more at https://npm.io/package/@solana-program/compute-budget/versions

## README

# JavaScript client

A generated JavaScript library for the Compute Budget program.

## Getting started

The JS client tests use [LiteSVM](https://github.com/LiteSVM/litesvm) in-process, so no local validator is needed. To build and test your JavaScript client from the root of the repository, you may use the following command.

```sh
make test-js-clients-js
```

This installs dependencies, builds the client, and runs the test suite.

## Available client scripts.

Alternatively, you can go into the client directory and run the tests directly.

```sh
cd clients/js
pnpm install
pnpm build
pnpm test
```

You may also use the following scripts to lint and/or format your JavaScript client.

```sh
pnpm lint
pnpm lint:fix
pnpm format
pnpm format:fix
```

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