Deno Manual
Version
main
v1.21.1
v1.21.0
v1.20.6
v1.20.5
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.18.2
v1.18.1
v1.18.0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
v1.15.3
v1.15.2
v1.15.1
v1.15.0
v1.14.3
v1.14.2
v1.14.1
v1.14.0
v1.13.2
v1.13.1
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.5
v1.11.4
v1.11.3
v1.11.2
v1.11.1
v1.11.0
v1.10.3
v1.10.2
v1.10.1
v1.10.0
v1.9.2
v1.9.1
v1.9.0
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.5
v1.7.4
v1.7.2
v1.7.1
v1.7.0
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Introduction
Getting Started
Installation
Set up your environment
First steps
Command line interface
Configuration file
Permissions
Debugging your code
The Runtime
Stability
Program lifecycle
Permission APIs
Web Platform APIs
HTTP Server APIs
HTTP Server APIs (low level)
Location API
Web Storage API
Workers
Foreign Function Interface API
Linking to external code
Reloading modules
Integrity checking
Proxies
Private modules
Import maps
Interoperating with Node and NPM
Node compatibility mode
The std/node library
Packages from CDNs
Using import maps
Frequently asked questions
Node->Deno cheatsheet
dnt - Deno to Node Transform
Using TypeScript
Overview
Configuration
Types and type declarations
Migrating to/from JavaScript
Runtime compiler APIs
Frequently asked questions
Using JSX and the DOM
Overview
Configuring JSX
Using LinkeDOM
Using deno-dom
Using jsdom
Parsing CSS
Using Twind
Using WebAssembly
Using WebAssembly in Deno
Using the streaming WebAssembly APIs
Helpful resources
Standard library
Examples
Hello world
Import and export modules
Manage dependencies
Fetch data
Read and write files
Unix cat program
HTTP web server
File server
TCP echo server
Creating a subprocess
OS signals
File system events
Module metadata
Testing
Assertions
Coverage
Documentation
Sanitizers
Behavior-driven development
Mocking
Snapshots
Tools
Script installer
Formatter
Read-eval-print-loop
Bundler
Compiling executables
Documentation generator
Dependency inspector
Linter
Task runner
Vendoring dependencies
Benchmarking
Continuous integration
Using Visual Studio Code
Testing API
Language Server
Overview of the language server
Import suggestions and intelligent registries
Testing API
Publishing Modules
Embedding Deno
Help
Contributing
Building from source
Web platform tests
Style guide
Architecture
Release schedule
Deno Manual
Version
main
v1.21.1
v1.21.0
v1.20.6
v1.20.5
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.18.2
v1.18.1
v1.18.0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
v1.15.3
v1.15.2
v1.15.1
v1.15.0
v1.14.3
v1.14.2
v1.14.1
v1.14.0
v1.13.2
v1.13.1
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.5
v1.11.4
v1.11.3
v1.11.2
v1.11.1
v1.11.0
v1.10.3
v1.10.2
v1.10.1
v1.10.0
v1.9.2
v1.9.1
v1.9.0
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.5
v1.7.4
v1.7.2
v1.7.1
v1.7.0
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Introduction
Getting Started
Installation
Set up your environment
First steps
Command line interface
Configuration file
Permissions
Debugging your code
The Runtime
Stability
Program lifecycle
Permission APIs
Web Platform APIs
HTTP Server APIs
HTTP Server APIs (low level)
Location API
Web Storage API
Workers
Foreign Function Interface API
Linking to external code
Reloading modules
Integrity checking
Proxies
Private modules
Import maps
Interoperating with Node and NPM
Node compatibility mode
The std/node library
Packages from CDNs
Using import maps
Frequently asked questions
Node->Deno cheatsheet
dnt - Deno to Node Transform
Using TypeScript
Overview
Configuration
Types and type declarations
Migrating to/from JavaScript
Runtime compiler APIs
Frequently asked questions
Using JSX and the DOM
Overview
Configuring JSX
Using LinkeDOM
Using deno-dom
Using jsdom
Parsing CSS
Using Twind
Using WebAssembly
Using WebAssembly in Deno
Using the streaming WebAssembly APIs
Helpful resources
Standard library
Examples
Hello world
Import and export modules
Manage dependencies
Fetch data
Read and write files
Unix cat program
HTTP web server
File server
TCP echo server
Creating a subprocess
OS signals
File system events
Module metadata
Testing
Assertions
Coverage
Documentation
Sanitizers
Behavior-driven development
Mocking
Snapshots
Tools
Script installer
Formatter
Read-eval-print-loop
Bundler
Compiling executables
Documentation generator
Dependency inspector
Linter
Task runner
Vendoring dependencies
Benchmarking
Continuous integration
Using Visual Studio Code
Testing API
Language Server
Overview of the language server
Import suggestions and intelligent registries
Testing API
Publishing Modules
Embedding Deno
Help
Contributing
Building from source
Web platform tests
Style guide
Architecture
Release schedule
Search
Search docs
Search the docs (press
/
to focus)
Search
Search the docs (press
/
to focus)
GitHub
Edit on GitHub
Getting Started
In this chapter we'll discuss:
Installing Deno
Setting up your environment
Running a
Hello World
script
Writing our own script
Command line interface
Understanding permissions
Debugging your code
← Introduction
Installation →