You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ryan Dahl 0fa9059f4d try again 2 years ago
.cargo Statically link the C runtime library on Windows (#4469) 3 years ago
.github try again 2 years ago
bench_util chore: release crates (#10327) 2 years ago
cli Use ubuntu-latest-xl on more CI jobs (#10322) 2 years ago
core refactor(core): rename send() to opcall() (#10307) 2 years ago
docs docs: document Deno's HTTP Server API (#10280) 2 years ago
op_crates chore: release crates (#10327) 2 years ago
runtime chore: release crates (#10327) 2 years ago
serde_v8 chore: release crates (#10269) 2 years ago
test_plugin core: avoid async op future reboxing to bundle PromiseId (#10123) 2 years ago
test_util chore: align fetch to spec (#10203) 2 years ago
third_party@72f5f1a9fa chore: update third_party submodule (#9548) 2 years ago
tools chore: add readme for cutting release (#10070) 2 years ago
.dlint.json chore: Enforce ban-untagged-todo lint rule (#9135) 2 years ago
.dprintrc.json chore(cli): Upgrade jsonc_parser to 0.17 (#9977) 2 years ago
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 4 years ago
.gitattributes remove unused git attributes (#7011) 2 years ago
.gitignore tests: new typescript WPT runner (#9269) 2 years ago
.gitmodules chore: remove std directory (#9361) 2 years ago
.rustfmt.toml chore: update copyright to 2021 (#9092) 2 years ago
CODE_OF_CONDUCT.md fix(tools): prettier formatting (#6206) 3 years ago
Cargo.lock 1.9.2 2 years ago
Cargo.toml chore: release crates (#10269) 2 years ago
LICENSE.md update copyright to 2021 (#9081) 2 years ago
README.md docs(readme): improve link descriptions (#10083) 2 years ago
Releases.md 1.9.2 2 years ago

README.md

Deno

Build Status - Cirrus Twitter handle
Discord Chat

Deno is a simple, modern and secure runtime for JavaScript and
TypeScript that uses V8 and is built in Rust.

Features

  • Secure by default. No file, network, or environment access, unless explicitly
    enabled.
  • Supports TypeScript out of the box.
  • Ships only a single executable file.
  • Built-in utilities like a dependency inspector (deno info) and a code
    formatter (deno fmt).
  • Set of reviewed standard modules that are guaranteed to work with
    Deno.

Install

Shell (Mac, Linux):

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

PowerShell (Windows):

iwr https://deno.land/x/install/install.ps1 -useb | iex

Homebrew (Mac):

brew install deno

Chocolatey (Windows):

choco install deno

Scoop (Windows):

scoop install deno

Build and install from source using Cargo:

cargo install deno --locked

See
deno_install
and releases for other options.

Getting Started

Try running a simple program:

deno run https://deno.land/std/examples/welcome.ts

Or a more complex one:

import { serve } from "https://deno.land/std/http/server.ts";
const s = serve({ port: 8000 });
console.log("http://localhost:8000/");
for await (const req of s) {
  req.respond({ body: "Hello World\n" });
}

You can find a deeper introduction, examples, and environment setup guides in
the manual.

The complete API reference is available at the runtime
documentation.

Contributing

We appreciate your help!

To contribute, please read our
guidelines.