
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@hirosystems/clarinet-sdk-wasm
Advanced tools
The core lib that powers @hirosystems/clarinet-sdk
This component exposes Clarinet features to a JS interface through wasm-bindgen.
It's built with wasm-pack.
It powers @hirosystems/clarinet-sdk and
@hirosystems/clarinet-sdk-browser.
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.
npm 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 hirosystems --out-dir pkg-node --target nodejs
Build for the browser
wasm-pack build --release --scope hirosystems --out-dir pkg-browser --target web
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.
npm 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.
npm run publish:sdk-wasm
FAQs
The core lib that powers @hirosystems/clarinet-sdk
The npm package @hirosystems/clarinet-sdk-wasm receives a total of 1,265 weekly downloads. As such, @hirosystems/clarinet-sdk-wasm popularity was classified as popular.
We found that @hirosystems/clarinet-sdk-wasm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.