---
title: "Deno 2.3: Improved deno compile, local npm packages, and more"
description: "Deno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries."
url: "https://swe.quest/articles/deno-2-3-improved-deno-compile-local-npm-packages-and-more-8da91030a8445369"
canonical: "https://deno.com/blog/v2.3"
source: "Deno"
published: "2025-05-01"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["javascript","typescript","runtimes","developer-tools","observability"]
---

# Deno 2.3: Improved deno compile, local npm packages, and more

A post on [Deno](https://swe.quest/sources/deno.md), published 2025-05-01, 11 min read, Release. Original: [https://deno.com/blog/v2.3](https://deno.com/blog/v2.3)

## Summary

Deno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries. Local npm packages can now be used through a "patch" entry in deno.json. deno fmt gains formatting of CSS, HTML and SQL in tagged templates plus 14 new options, and OpenTelemetry support adds span events, cross-service context propagation, node:http auto-instrumentation and V8 heap metrics. deno install is about 2x faster when npm dependencies are cached, thanks to in-memory npm metadata caching and lockfile v5, with a benchmark showing 2.5x on a Vite React template. The release also adds the JavaScript \`using\` keyword, coverage ignore comments and TypeScript 5.8 with V8 13.5.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)

## Prerequisites

- Deno basics
- npm packages

## Keywords

Deno, deno compile, OpenTelemetry, npm, V8, TypeScript 5.8, JSR

## Related posts

- [Deno 1.34: deno compile supports npm packages](https://swe.quest/articles/deno-1-34-deno-compile-supports-npm-packages-6066648b7bf9ee04.md): Deno · 2023-05-25 · Medium · 6 min read · JavaScript, Runtimes & VMs, Developer tools, TypeScript
  Deno 1.34 lets \`deno compile\` bundle npm packages and their dependencies into a single self-contained executable.
- [Deno 1.32: Enhanced Node.js Compatibility](https://swe.quest/articles/deno-1-32-enhanced-node-js-compatibility-b203aa007c83fdbd.md): Deno · 2023-03-23 · Medium · 5 min read · JavaScript, Runtimes & VMs, TypeScript
  Deno 1.32 improves Node.js compatibility by installing npm packages only when a bare specifier matches package.json, surfacing package.json errors lazily, adding DENO\_NO\_PACKAGE\_JSON, and supporting createCipheriv/createDecipheriv in node:crypto. \`deno compile\` now handles dynamic imports and Web Workers, bundling statically analyzable specifiers automatically and others via a new --include flag.
- [Deno 2.4: deno bundle is back](https://swe.quest/articles/deno-2-4-deno-bundle-is-back-ed93373e4555da2c.md): Deno · 2025-07-02 · Medium · 19 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 2.4 brings back \`deno bundle\`, now built on esbuild, producing single-file bundles for Deno or browser targets with tree shaking, minification, sourcemaps and npm/JSR dependency support.
- [Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite](https://swe.quest/articles/deno-2-2-opentelemetry-lint-plugins-node-sqlite-9a3401e2c9c180a2.md): Deno · 2025-02-19 · Medium · 17 min read · JavaScript, TypeScript, Observability, Developer tools, Static analysis
  Deno 2.2 adds built-in OpenTelemetry that auto-instruments console.log, Deno.serve and fetch and exports to an OTLP endpoint behind the --unstable-otel flag.
- [Deno 2.8](https://swe.quest/articles/deno-2-8-43b6e30f24897cb6.md): Deno · 2026-05-22 · Medium · 36 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems, TypeScript
  Deno 2.8 adds new subcommands (audit fix, bump-version with Conventional Commits workspace support, ci, pack for building npm tarballs from Deno/JSR projects, transpile, why), makes unprefixed package names default to npm in deno add/install, and supports TC39 import defer.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
