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 3 months ago
.cargo Statically link the C runtime library on Windows (#4469) 1 year ago
.github try again 3 months ago
bench_util chore: release crates (#10327) 3 months ago
cli Use ubuntu-latest-xl on more CI jobs (#10322) 3 months ago
core refactor(core): rename send() to opcall() (#10307) 3 months ago
docs docs: document Deno's HTTP Server API (#10280) 3 months ago
op_crates chore: release crates (#10327) 3 months ago
runtime chore: release crates (#10327) 3 months ago
serde_v8 chore: release crates (#10269) 3 months ago
test_plugin core: avoid async op future reboxing to bundle PromiseId (#10123) 4 months ago
test_util chore: align fetch to spec (#10203) 3 months ago
third_party@72f5f1a9fa chore: update third_party submodule (#9548) 5 months ago
tools chore: add readme for cutting release (#10070) 3 months ago
.dlint.json chore: Enforce ban-untagged-todo lint rule (#9135) 7 months ago
.dprintrc.json chore(cli): Upgrade jsonc_parser to 0.17 (#9977) 4 months ago
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 3 years ago
.gitattributes remove unused git attributes (#7011) 12 months ago
.gitignore tests: new typescript WPT runner (#9269) 6 months ago
.gitmodules chore: remove std directory (#9361) 6 months ago
.rustfmt.toml chore: update copyright to 2021 (#9092) 7 months ago
CODE_OF_CONDUCT.md fix(tools): prettier formatting (#6206) 1 year ago
Cargo.lock 1.9.2 3 months ago
Cargo.toml chore: release crates (#10269) 3 months ago
LICENSE.md update copyright to 2021 (#9081) 7 months ago
README.md docs(readme): improve link descriptions (#10083) 4 months ago
Releases.md 1.9.2 3 months 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.