Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Deno 7 min read Announcement easyNovice

Deno's Other Open Source Projects

Deno publishes many MIT-licensed supporting libraries extracted from its runtime, most of them Rust crates. Highlights include rusty_v8 (zero-overhead Rust bindings to V8's C++ API), deno_core (ops and an event loop mapping JS Promises to Rust Futures), rust-urlpattern, import_map, eszip (a streamable single-file format for serialized module graphs, used by Deno Deploy), sui (embedding data in ELF/PE/Mach-O executables while keeping them code-signable), dnt (Deno-to-npm transform), wasmbuild, the monch parser combinator library, deno_task_shell, the flaky_test macro, and vnotify (detecting changes across millions of S3 objects via hashed notification keys). Most entries come with short usage examples.

Related posts

  • Deno 1.20 Release Notes

    Deno mediumAdept

    Deno 1.20 cuts JavaScript-to-Rust op call overhead by up to ~60% by using Rust proc macros to generate a dedicated V8 binding per op, eliminating op routing and skipping deserialization of unused arguments; a 1 MB base64 roundtrip drops from ~125 ms to ~3.3 ms. The release also adds automatic gzip/brotli compression of non-streamed HTTP responses, an unstable `deno bench` subcommand (1000 warmup plus 1000 measured iterations by default), and a cross-platform `deno task` runner using a POSIX-like shell subset. Other changes include import maps in the config file, in-memory TLS certs, `Deno.upgradeHttp()`, FFI global statics, opt-in `--trace-ops` for test leak tracing (made opt-in because of a performance regression), `AbortSignal.timeout()`, and stricter default permissions for tests and workers, plus TypeScript 4.6 and V8 10.0.

  • Deno 1.34: deno compile supports npm packages

    Deno mediumAdept

    Deno 1.34 lets `deno compile` bundle npm packages and their dependencies into a single self-contained executable. That makes tools like vite and eslint shippable as binaries with pinned dependencies, and they tend to start faster than running from a local cache. The release also adds cross-platform glob support in deno.json, deno task and CLI flags, and TLS certificates with IP addresses via rustls. Smaller changes include a top-level `exclude` and `nodeModulesDir` in config, configurable language-server limits, a `Deno.serve()` signature change that returns a `Deno.Server`, new `createHttpClient` pool options, more Node.js polyfills, and upgrades to V8 11.5 and TypeScript 5.0.4.

  • Roll your own JavaScript runtime

    Deno mediumAdept

    A minimal JavaScript runtime called runjs can be built in Rust by combining the deno_core crate, which wraps a V8 isolate in a JsRuntime, with a single-threaded tokio runtime as the event loop. The tutorial loads and evaluates ES modules from disk, adds a console API in a bundled runtime.js, and exposes async and sync filesystem functions to JavaScript via #[op2] ops registered through the extension! macro. deno_core handles marshalling between JS Promises and Rust Futures, so each new native API needs only a small amount of glue code.

  • Roll your own JavaScript runtime, pt. 3

    Deno mediumAdept

    V8 startup snapshots can speed up launch of a custom deno_core-based JavaScript runtime at a typically negligible cost in binary size. A Cargo build.rs script uses deno_core's extension! macro and create_snapshot with CreateSnapshotOptions to serialize the runtime.js extension into RUNJS_SNAPSHOT.bin in OUT_DIR. main.rs then embeds the snapshot with include_bytes!, passes it as startup_snapshot in RuntimeOptions, and switches the extension to init_ops() so only the Rust ops are registered at runtime.

  • Deno 2.9

    Deno mediumAdept

    Deno 2.9 introduces experimental `deno desktop`, which compiles a web UI plus Deno logic into a single native binary using either the OS webview or bundled Chromium via CEF, with native window, tray and dock APIs and cross-compilation to installers for all five targets. `deno install` now seeds `deno.lock` from npm, pnpm, yarn and Bun lockfiles with exact versions and hashes, migrates pnpm workspace config, and shims `node` for tools that shell out to it. Cold start drops from 34ms to 17ms through lazy-loaded Node globals, V8 code caching and a minified snapshot. A new Rust HTTP/1.1 path raises `Deno.serve` throughput 11–27% and cuts peak RSS by 2.2–3.1x. The release also adds CSS module imports, `deno link`/`deno list`, JSR packages in node_modules and automatic lockfile merge-conflict resolution.

The quest for software engineering knowledge.

Look:
Layout: