@mentor/wasm (1.1.0)

Published 2026-07-27 15:09:15 +00:00 by Mikkel ALMONTE--RINGAUD in mentor/wasm

Installation

@mentor:registry=
npm install @mentor/wasm@1.1.0
"@mentor/wasm": "1.1.0"

About this package

Features

A ton of tweaks is applied to the bundle made by wasm-pack.

  • package.json generated using Cargo.toml properties
  • Embedded WASM in the bundle so need to init() anything
  • Simplified d.ts and less noise

Requirements

You should have the following tools globally available.

Usage

You can either use this package through its own registry or through ants.land.

# you should configure `@mentor` registry.
npx @mentor/wasm
bun x @mentor/wasm

# it is published on `ants.land` officially.
ant x @mentor/wasm

You should see the final results in an exported directory. You can publish this directory to any registry as a package.

Keys in Cargo.toml

You can customize the output by updating your Cargo.toml of your WASM crate.

[package.metadata.npm]
name = "@unilim/cas" # name of your package

If you're using external npm dependencies you can also define them here.

[package.metadata.npm.dependencies]
"@unilim/cas" = "^3.0.0"

Dependencies

Development dependencies

ID Version
@types/bun ^1.3.14
@typescript/native npm:typescript@^7.0.2
@vexcited/eslint-config ^0.3.0
eslint ^10.8.0
tsdown ^0.22.12
typescript npm:@typescript/typescript6@^6.0.2
Details
npm
2026-07-27 15:09:15 +00:00
5
Mikkel ALMONTE--RINGAUD
MIT
2.8 KiB
Assets (1)
wasm-1.1.0.tgz 2.8 KiB
Versions (5) View all
1.3.0 2026-08-31
1.2.0 2026-08-10
1.1.0 2026-07-27
1.0.0 2026-07-21
0.1.0 2026-07-20