Deno

A new way to JavaScript
Linux & Mac Windows
deno
deno_std
deno_install
registry

Install #

Mac or Linux

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

Windows (PowerShell)

iex (iwr https://deno.land/x/install/install.ps1)

Example #

Try running a simple program:

deno https://deno.land/welcome.js

Or a more complex one:

import { serve } from "https://deno.land/x/http/server.ts";
const s = serve("0.0.0.0:8000");

async function main() {
  for await (const req of s) {
    req.respond({ body: new TextEncoder().encode("Hello World\n") });
  }
}

main();

Dig in... #

Manual

API Reference

Style Guide

Module repository

Release notes

Community chat room

Benchmarks

A curated list of awesome Deno things