🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@solana-program/compute-budget

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana-program/compute-budget

JavaScript client for the Compute Budget program

latest
Source
npmnpm
Version
0.17.0
Version published
Weekly downloads
724K
-0.77%
Maintainers
2
Weekly downloads
 
Created
Source

JavaScript client

A generated JavaScript library for the Compute Budget program.

Getting started

The JS client tests use 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.

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.

cd clients/js
pnpm install
pnpm build
pnpm test

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

pnpm lint
pnpm lint:fix
pnpm format
pnpm format:fix

FAQs

Package last updated on 15 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts