Deno

适用于 JavaScript 和 TypeScript 的现代运行时。「A modern runtime for JavaScript and TypeScript.」

Github星跟踪图

Deno


Twitter badge Discord badge
YouTube badge

Deno
(/ˈdiːnoʊ/, pronounced
dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure
defaults and a great developer experience. It's built on V8,
Rust, and Tokio.

Learn more about the Deno runtime
in the documentation.

Installation

Install the Deno runtime on your system using one of the commands below. Note
that there are a number of ways to install Deno - a comprehensive list of
installation options can be found
here.

Shell (Mac, Linux):

curl -fsSL https://deno.land/install.sh | sh

PowerShell (Windows):

irm https://deno.land/install.ps1 | iex

Homebrew (Mac):

brew install deno

Chocolatey (Windows):

choco install deno

Build and install from source

Complete instructions for building Deno from source can be found in the manual
here.

Your first Deno program

Deno can be used for many different applications, but is most commonly used to
build web servers. Create a file called server.ts and include the following
TypeScript code:

Deno.serve((_req: Request) => {
  return new Response("Hello, world!");
});

Run your server with the following command:

deno run --allow-net server.ts

This should start a local web server on
http://localhost:8000.

Learn more about writing and running Deno programs
in the docs.

Additional resources

Contributing

We appreciate your help! To contribute, please read our
contributing instructions.

主要指标

概览
名称与所有者denoland/deno
主编程语言Rust
编程语言TypeScript (语言数: 15)
平台
许可证MIT License
所有者活动
创建于2018-05-15 01:34:26
推送于2025-07-01 10:51:01
最后一次提交
发布数387
最新版本名称v2.3.7 (发布于 )
第一版名称v0.0.1 (发布于 )
用户参与
星数103.5k
关注者数1.4k
派生数5.6k
提交数14k
已启用问题?
问题数12917
打开的问题数2182
拉请求数13130
打开的拉请求数70
关闭的拉请求数2513
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?