224 breaking releases
Uses new Rust 2024
| new 0.227.0 | Jan 15, 2026 |
|---|---|
| 0.225.0 | Dec 20, 2025 |
| 0.221.0 | Oct 30, 2025 |
| 0.212.0 | Jul 31, 2025 |
| 0.2.0 | Mar 21, 2021 |
#172 in Programming languages
23,617 downloads per month
Used in 72 crates
(26 directly)
51KB
1.5K
SLoC
deno_webidl
This crate implements WebIDL for Deno. It consists of infrastructure to do ECMA -> WebIDL conversions.
Spec: https://webidl.spec.whatwg.org/
Usage Example
From javascript, include the extension's source, and assign the following to the global scope:
import * as webidl from "ext:deno_webidl/00_webidl.js";
Object.defineProperty(globalThis, webidl.brand, {
value: webidl.brand,
enumerable: false,
configurable: true,
writable: true,
});
Then from rust, provide init_webidl::init_webidl::init() in the extensions
field of your RuntimeOptions
Dependencies
~95MB
~2M SLoC