Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@stacks/clarinet-sdk-wasm

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/clarinet-sdk-wasm

The core lib that powers @stacks/clarinet-sdk

latest
Source
npmnpm
Version
3.18.1
Version published
Maintainers
3
Created
Source

Clarity SDK WASM

This component exposes Clarinet features to a JS interface through wasm-bindgen. It's built with wasm-pack.
It powers @stacks/clarinet-sdk and @stacks/clarinet-sdk-browser.

Contributing

Build package

Install wasm-pack.

In the root directory of Clarinet, run the following command to build the packages for Node.js and the browser. Under the hood, it will run wasm-pack build twice, once for each target.

pnpm run build:sdk-wasm

Alternatively, it's also possible to build the packages separately. It should only be done for development purpose.

Build for node

wasm-pack build --release --scope stacks --out-dir pkg-node --target nodejs

Build for the browser

wasm-pack build --release --scope stacks --out-dir pkg-browser --target web

Release

The package is built twice with wasm-pack as it can't target node and web at the same time. The following script will build for both target, it will also rename the package name for the browser build.

pnpm run build:sdk-wasm

Once built, the packages can be released by running the following command. Note that by default we release with the beta tag.

pnpm run publish:sdk-wasm

FAQs

Package last updated on 19 May 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