0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
Marvin Hagemeister 9bcbef6d2f
fix(unstable): lint plugin swapped exported and source for ExportAllDeclaration (#28357)
The `source` and `exported` property were swapped for the
`ExportAllDeclaration` node.

Fixes one issue reported at
https://github.com/denoland/deno/issues/28355
2025-03-03 11:03:29 +01:00
.cargo
.devcontainer chore(devcontainer): add clang to cargo build (#28345) 2025-03-02 03:47:38 +00:00
.github
bench_util
cli fix(unstable): lint plugin swapped exported and source for ExportAllDeclaration (#28357) 2025-03-03 11:03:29 +01:00
ext perf(http): instantiate generic functions in deno_http, increase opt-level for some more hyper deps (#28317) 2025-02-27 10:07:11 -08:00
resolvers chore: prefer workspace dependencies in order to avoid duplicate crates (#28281) 2025-02-26 14:55:47 +00:00
runtime perf(http): instantiate generic functions in deno_http, increase opt-level for some more hyper deps (#28317) 2025-02-27 10:07:11 -08:00
tests fix(unstable): lint plugin swapped exported and source for ExportAllDeclaration (#28357) 2025-03-03 11:03:29 +01:00
tools
.dlint.json
.dprint.json fix(fmt/md): handle callout followed by non-text (#28333) 2025-02-27 22:29:58 +00:00
.editorconfig
.gitattributes
.gitignore
.gitmodules
.rustfmt.toml
Cargo.lock fix(fmt/md): handle callout followed by non-text (#28333) 2025-02-27 22:29:58 +00:00
Cargo.toml fix(fmt/md): handle callout followed by non-text (#28333) 2025-02-27 22:29:58 +00:00
import_map.json
LICENSE.md
README.md
Releases.md
rust-toolchain.toml chore: update to rust 1.85 (#28236) 2025-02-25 08:50:01 -08:00

Deno

Twitter badge Discord badge YouTube badge

the deno mascot dinosaur standing in the rain

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

WinGet (Windows):

winget install --id=DenoLand.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.