$ account denoland
This is the Deno runtime repository, a production-grade JavaScript, TypeScript, and WebAssembly runtime built in Rust with a modular architecture. The system comprises a CLI binary (`cli/`), a core runtime library (`libs/core/`), dozens of Web API and Node.js compatibility extensions (`ext/`), a resolver and npm package manager (`libs/resolver/`, `libs/npm/`), and comprehensive testing infrastructure (`tests/`). The architecture is organized as a Cargo workspace with crates for the CLI, runtime, extensions, and shared libraries. Key entry points include `cli/main.rs` for the `deno` command, `cli/rt/main.rs` for standalone compiled binaries, and `runtime/lib.rs` for embedding. External dependencies include V8, tokio, and various Rust crates; the runtime integrates with npm and JSR registries for package resolution, which is a central data flow alongside module loading and JavaScript execution. The codebase showcases high craftsmanship with declarative op definitions via `#[op2]`, efficient V8 serialization via `serde_v8`, and a pluggable extension system. It has tens of thousands of tests covering unit, integration, spec, and node compatibility scenarios. Despite its enormous size, the code is generally well-structured and actively maintained.
This repository is a Rust library (and optional CLI tool) that generates documentation for JavaScript and TypeScript modules. It parses source code using `deno_graph` and `deno_ast`, extracts documentation nodes (functions, classes, interfaces, enums, variables, type aliases, namespaces) along with JSDoc comments, and produces output in multiple formats: JSON for programmatic consumption, plain text for CLI display, static HTML pages with search, dark mode, and breadcrumbs, and structured diffs between two versions of an API. The HTML generation uses Handlebars templates and Tailwind CSS, and includes a client-side search index built with Fuse.js. The crate is used by the `deno doc` command and is published as `@deno/doc` for the JavaScript ecosystem via WASM. Its architecture is modular: a parsing layer resolves source files into a documentation graph, and separate output modules handle text, JSON, HTML, and diff rendering. The diff engine includes rename detection and change heuristics. The project is well-tested with a large suite of snapshot and specification tests covering a wide range of TypeScript features.
This is the official Deno documentation repository powering docs.deno.com. It is a static documentation site built with Lume (Deno-native static site generator), with a custom server middleware stack (redirects, Google Analytics, API content-type routing, LLM file serving, markdown source access) deployed on Deno Deploy. The content corpus spans the Deno runtime CLI, Deno Deploy, Subhosting, Sandbox, Deno KV, lint rules, 100+ runnable code examples with structured JSDoc metadata, tutorials, and generated API references for Deno, Web, and Node.js APIs. The build pipeline includes multiple code-generation stages: API reference pages generated from TypeScript type definitions via deno doc with a content-hashed incremental cache, Orama search index generation with a clean FileSelector → MarkdownIndexer → Output pipeline, and LLM-friendly file generation (llms.txt, llms-full.txt, llms.json) with relevance scoring. CI enforces link validity, frontmatter freshness (last_modified), and sidebar constraints via Deno test suites.