Deno is a programming language created in 2018 by Ryan Dahl.
#271on PLDB | 5Years Old | 106.1kUsers |
2Books | 0Papers |
A modern runtime for JavaScript and TypeScript.
// Imports `serve` from the remote Deno standard library, using URL.
import { serve } from "https://deno.land/std@v0.21.0/http/server.ts";
// `serve` function returns an asynchronous iterator, yielding a stream of requests
for await (const req of serve({ port: 8000 })) {
req.respond({ body: "Hello, World!\n" });
}
console.log("Hello World");
Feature | Supported | Token | Example |
---|---|---|---|
Strings | ✓ | " | "Hello world" |
Print() Debugging | ✓ | console.log | |
Comments | ✓ | // A comment |
|
Line Comments | ✓ | // | // A comment |
Semantic Indentation | X |
title | authors | year | publisher |
---|---|---|---|
Deno Web Development: Write, test, maintain, and deploy JavaScript and TypeScript web applications using Deno | Santos, Alexandre Portela dos | 2021 | Packt Publishing |
Introducing Deno | Fernando Doglio | 20200916 | Springer Nature |