---
title: "Deno 1.38: HTML doc generator and HMR"
description: "Deno 1.38 adds `deno doc --html` for generating static, rustdoc-style documentation sites, with multi-entrypoint support, a Rust symbol graph and a `--lint` mode that flags missing docs, missing return types and unexported types."
url: "https://swe.quest/articles/deno-1-38-html-doc-generator-and-hmr-3f3ea5622c742f10"
canonical: "https://deno.com/blog/v1.38"
source: "Deno"
published: "2023-11-02"
difficulty: "medium"
kind: "Release"
reading_minutes: 18
tags: ["javascript","typescript","runtimes","documentation","performance"]
---

# Deno 1.38: HTML doc generator and HMR

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-11-02, 18 min read, Release. Original: [https://deno.com/blog/v1.38](https://deno.com/blog/v1.38)

## Summary

Deno 1.38 adds \`deno doc --html\` for generating static, rustdoc-style documentation sites, with multi-entrypoint support, a Rust symbol graph and a \`--lint\` mode that flags missing docs, missing return types and unexported types. Other additions are an unstable \`--unstable-hmr\` hot module replacement that patches modules in place, bring-your-own npm/pnpm \`node\_modules\` support, \`--env\` for loading .env files, and RFC 8441 WebSockets over HTTP/2. A new precompile JSX transform serializes static HTML into string arrays at compile time instead of allocating objects per element, giving 7-20x faster server-side rendering and about 50% less GC time. The release also includes V8 12.0 and a faster \`structuredClone\`.

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)
- [Documentation](https://swe.quest/tags/documentation.md) (Engineering practices)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- JavaScript modules ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- JSX basics

## Keywords

Deno, deno doc, JSX, Hot Module Replacement, V8, WebSockets, npm, Preact

## Related posts

- [Deno 2.9](https://swe.quest/articles/deno-2-9-919531dc50e2e28a.md): Deno · 2026-06-25 · Medium · 24 min read · JavaScript, Runtimes & VMs, Build systems, Performance engineering, Developer tools
  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.
- [Deno 1.16 Release Notes](https://swe.quest/articles/deno-1-16-release-notes-8c55aef9701e5637.md): Deno · 2021-11-09 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs
  Deno 1.16 adds file:// support to fetch (streamed in chunks, Firefox-like semantics with no content-length or content-type headers), React 17-style JSX transforms via @jsxImportSource, an unstable Deno.addSignalListener API, and console display of Error.cause.
- [Deno 1.43: Improved Language Server performance](https://swe.quest/articles/deno-1-43-improved-language-server-performance-ce41f07ca52bb667.md): Deno · 2024-05-01 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools
  Deno 1.43 cuts Language Server auto-completion latency in large codebases from 6-8 seconds to under one second and sharply reduces LSP memory use, fixing out-of-memory failures.
- [Fresh 1.1 - automatic JSX, plugins, DevTools, and more](https://swe.quest/articles/fresh-1-1-automatic-jsx-plugins-devtools-and-more-546b7dc860fe9b32.md): Deno · 2022-09-08 · Medium · 7 min read · Frontend, TypeScript, JavaScript
  Fresh 1.1, Deno's zero-client-JS, no-build-step web framework, switches new projects to automatic JSX via the deno.json jsxImportSource setting.
- [Deno 1.42: Better dependency management with JSR](https://swe.quest/articles/deno-1-42-better-dependency-management-with-jsr-c869439ba578c752.md): Deno · 2024-03-28 · Medium · 9 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 1.42 adds first-class JSR support through new \`deno publish\` and \`deno add\` subcommands, which install packages from JSR and npm and write import map entries.

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)
