228 breaking releases

Uses new Rust 2024

new 0.231.0 Feb 10, 2026
0.229.0 Jan 29, 2026
0.225.0 Dec 20, 2025
0.221.0 Oct 30, 2025
0.2.0 Mar 21, 2021

#109 in Programming languages

Download history 6008/week @ 2025-10-21 7703/week @ 2025-10-28 4747/week @ 2025-11-04 3893/week @ 2025-11-11 4603/week @ 2025-11-18 5344/week @ 2025-11-25 5956/week @ 2025-12-02 9424/week @ 2025-12-09 9073/week @ 2025-12-16 4688/week @ 2025-12-23 2844/week @ 2025-12-30 6982/week @ 2026-01-06 6248/week @ 2026-01-13 7135/week @ 2026-01-20 11434/week @ 2026-01-27 7835/week @ 2026-02-03

33,617 downloads per month
Used in 69 crates (26 directly)

MIT license

51KB
1.5K SLoC

JavaScript 1.5K SLoC // 0.0% comments TypeScript 395 SLoC // 0.3% comments Rust 1 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

~96MB
~2M SLoC