denoland /

Deno

Live map
Snapshotmain · 89f33cb

A TypeScript entry module moving through CLI setup, module loading, permissions, V8, Rust ops, and the outside world.

Click a building or route
Choose a path

Parse run flags, prepare the module graph, create a worker, and execute the entry in V8.

System map8 components · 10 connections
130%
Deno runtime city architectureThe Run journey starts the program; the fetch() journey shows every security and runtime boundary crossed by one web API.RunFlags + script argu…main specifier + impor…file/HTTP specifier → …allow/deny descriptors…main module + runtime …compiled module + even…Run CommandModule LoaderDeno CLIFiles &NetworkPermissionBrokerMain WorkerRust Web OpsV8 / JsRuntime
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

SpecifierA URL-like module identifier such as file:///app.ts, https://example/mod.ts, or npm:chalk.

How to study this repo

  1. 1
    Trace deno run

    Follow parsed RunFlags into the worker factory and mark the point where the entry module executes.

  2. 2
    Follow one op

    Use fetch() to connect the JavaScript API, Rust op, permission check, async client, and returned resource.

  3. 3
    Compare permissions

    Run the same small program with no flag, a narrow --allow-net host, and broad access to observe each decision.