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 8152490068 How much does sccache help vs target cache 9 hours ago
.cargo Statically link the C runtime library on Windows (#4469) 12 months ago
.github How much does sccache help vs target cache 9 hours ago
cli test(cli): move lint command tests into a module (#9674) 9 hours ago
core fix(runtime/web_worker): Don't block self.onmessage with TLA (#9619) 9 hours ago
docs docs(testing): add assertExists example (#9613) 2 days ago
op_crates Bump crates again (#9653) 2 days ago
runtime fix(runtime/web_worker): Don't block self.onmessage with TLA (#9619) 9 hours ago
test_plugin fix(test_plugin): Add README.md and make function use same data (#9128) 1 month ago
test_util test: Fix --reload in integration_tests (#9345) 1 week ago
third_party@72f5f1a9fa chore: update third_party submodule (#9548) 2 weeks ago
tools chore: upgrade crates (#9632) 2 days ago
.dlint.json chore: Enforce ban-untagged-todo lint rule (#9135) 2 months ago
.dprintrc.json chore: upgrade internal dprint plugins (#9566) 2 weeks ago
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2 years ago
.gitattributes remove unused git attributes (#7011) 7 months ago
.gitignore tests: new typescript WPT runner (#9269) 1 month ago
.gitmodules chore: remove std directory (#9361) 1 month ago
.rustfmt.toml chore: update copyright to 2021 (#9092) 2 months ago
CODE_OF_CONDUCT.md fix(tools): prettier formatting (#6206) 9 months ago
Cargo.lock chore(lsp): update lspower to 0.8.4 (#9663) 2 days ago
Cargo.toml Change release build flags to -O3 when favorable (#9538) 2 weeks ago
LICENSE.md update copyright to 2021 (#9081) 2 months ago
README.md chore: rename default branch to main (#9503) 2 weeks ago
Releases.md v1.8.0 2 days ago

README.md

Deno

Build Status - Cirrus Twitter handle

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

Build and install from source using Cargo:

cargo install deno

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 more in depth introduction, examples, and environment setup guides in the manual.

More in-depth info can be found in the runtime documentation.

Contributing

We appreciate your help!

To contribute, please read our guidelines.