Introduction to Deno
Deno (/ˈdiːnoʊ/, pronounceddee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. It’s built on V8, Rust, and Tokio.
Why Deno?
Deno was created to address shortcomings in Node.js by providing a modern runtime with better security, built-in TypeScript support, and improved developer experience.Secure by Default
No file, network, or environment access unless explicitly enabled. Run untrusted code with confidence.
TypeScript Built-in
First-class TypeScript support out of the box. No configuration needed.
Modern Standards
Built on web standards with support for ES modules, fetch API, and Web APIs.
Great Tooling
Built-in formatter, linter, test runner, and bundler. Everything you need in one tool.
Key Features
Security First
Deno is secure by default. Scripts cannot access files, the network, or the environment without explicit permission. This makes it safe to run untrusted code.TypeScript Native
TypeScript works out of the box - no configuration required:Web Standard APIs
Deno implements standard web APIs likefetch, Request, Response, and more:
Built-in Tooling
Everything you need is built into thedeno executable:
- Formatter:
deno fmt- Format your code - Linter:
deno lint- Catch common errors - Test Runner:
deno test- Run your tests - Bundler:
deno bundle- Bundle your code - Documentation:
deno doc- Generate documentation - REPL:
deno- Interactive shell
Quick Start
Installation
Get Deno installed on your system in seconds
Quickstart
Build and run your first Deno program
First Steps
Learn basic commands and explore Deno’s features
API Reference
Complete API documentation and examples
Runtime Architecture
Deno is built on three core technologies:- V8: Google’s JavaScript engine, the same used in Chrome
- Rust: Systems programming language providing speed and safety
- Tokio: Asynchronous runtime for Rust, enabling efficient I/O
Additional Resources
Deno Standard Library
Officially supported common utilities for Deno programs
JSR Package Registry
The open-source package registry for modern JavaScript and TypeScript
Developer Blog
Product updates, tutorials, and more from the Deno team
Official Docs
Comprehensive guides and reference documentation