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 (語言數: 13)
平台
許可證MIT License
所有者活动
創建於2018-05-15 01:34:26
推送於2025-04-22 08:49:15
最后一次提交
發布數376
最新版本名稱v2.2.11 (發布於 )
第一版名稱v0.0.1 (發布於 )
用户参与
星數102.7k
關注者數1.4k
派生數5.6k
提交數13.5k
已啟用問題?
問題數12491
打開的問題數2044
拉請求數12653
打開的拉請求數122
關閉的拉請求數2440
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?