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 06394a2350 x 8 hours ago
.cargo Statically link the C runtime library on Windows (#4469) 11 months ago
.github x 8 hours ago
cli chore(lsp): update lspower to 0.8.4 (#9663) 19 hours ago
core Bump crate versions (#9651) 1 day ago
docs docs(testing): add assertExists example (#9613) 1 day ago
op_crates Bump crates again (#9653) 1 day ago
runtime Bump crates again (#9653) 1 day 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) 1 week ago
tools chore: upgrade crates (#9632) 1 day ago
.dlint.json chore: Enforce ban-untagged-todo lint rule (#9135) 1 month ago
.dprintrc.json chore: upgrade internal dprint plugins (#9566) 1 week ago
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2 years ago
.gitattributes remove unused git attributes (#7011) 6 months ago
.gitignore tests: new typescript WPT runner (#9269) 1 month ago
.gitmodules chore: remove std directory (#9361) 4 weeks ago
.rustfmt.toml chore: update copyright to 2021 (#9092) 1 month ago
CODE_OF_CONDUCT.md fix(tools): prettier formatting (#6206) 8 months ago
Cargo.lock chore(lsp): update lspower to 0.8.4 (#9663) 19 hours ago
Cargo.toml Change release build flags to -O3 when favorable (#9538) 1 week ago
LICENSE.md update copyright to 2021 (#9081) 1 month ago
README.md chore: rename default branch to main (#9503) 1 week ago
Releases.md v1.8.0 1 day 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.