| name | deno-2-7-0 |
| description | A comprehensive toolkit for the Deno 2.x JavaScript/TypeScript runtime, covering installation, permissions, built-in APIs, development tools (task runner, test runner, lint, fmt), TypeScript support, npm integration, workspaces, and deployment patterns. Use when building applications with Deno, managing Deno projects, working with Deno's standard library (@std on JSR), configuring permissions, or deploying to Deno Deploy. |
| version | 0.1.0 |
| author | Tangled <noreply@tangledgroup.com> |
| license | MIT |
| tags | ["javascript","typescript","runtime","web-server","cli-tools","npm","jsr","testing"] |
| category | development |
| external_references | ["https://docs.deno.com/","https://github.com/denoland/deno"] |
Deno 2.7
Overview
Deno (pronounced dee-no) is an open-source JavaScript, TypeScript, and WebAssembly runtime built on V8, Rust, and Tokio. It provides secure defaults, first-class TypeScript support, a robust built-in toolchain, and full Node.js/npm compatibility. Deno 2.x represents the current major version with enhanced performance, improved npm integration, and workspace support.
Key features:
- TypeScript-ready out of the box — zero config needed
- Secure by default — no filesystem, network, or environment access without explicit permission
- Built-in toolchain — test runner, linter, formatter, bundle, compile
- Node.js and npm compatible — import npm packages with
npm: specifiers
- JSR integration — first-party package registry at jsr.io
- Standard library — modular
@std packages published on JSR
When to Use
- Building JavaScript/TypeScript applications with a modern, secure runtime
- Migrating Node.js projects to Deno (full npm compatibility)
- Writing CLI tools, HTTP servers, or scripts with built-in tooling
- Working with TypeScript without separate compilation steps
- Deploying serverless applications to Deno Deploy
- Managing monorepo projects with workspace support
- Needing a batteries-included runtime with no external dependencies
Core Concepts
Permissions model: Deno denies all I/O by default. Use --allow-read, --allow-write, --allow-net, --allow-env, and --allow-run flags to grant access. Permissions can also be configured in deno.json.
Module specifiers: Deno supports multiple import sources:
- Local files:
import { x } from "./module.ts"
- URLs:
import { x } from "https://esm.sh/..."
- JSR packages:
import { x } from "jsr:@std/assert@^1.0.0"
- npm packages:
import { x } from "npm:chalk@5"
- Node built-ins:
import fs from "node:fs"
Configuration: The deno.json (or deno.jsonc) file configures imports, tasks, linting, formatting, permissions, and TypeScript compiler options. Deno also supports for Node.js compatibility.