coding-to-music / coding-to-music.github.io

https://pandemic-overview.readthedocs.io/en/latest/index.html
MIT License
2 stars 8 forks source link

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience. It's built on V8, Rust, and Tokio. #133

Open coding-to-music opened 3 years ago

coding-to-music commented 3 years ago

https://github.com/denoland/deno

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

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.

coding-to-music commented 3 years ago

https://deno.land/manual@v1.11.2/introduction

Introduction

Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience.

It's built on V8, Rust, and Tokio.

Feature highlights

Philosophy

Deno aims to be a productive and secure scripting environment for the modern programmer.

Deno will always be distributed as a single executable. Given a URL to a Deno program, it is runnable with nothing more than the ~25 megabyte zipped executable. Deno explicitly takes on the role of both runtime and package manager. It uses a standard browser-compatible protocol for loading modules: URLs.

Among other things, Deno is a great replacement for utility scripts that may have been historically written with Bash or Python.

Goals

Comparison to Node.js

Other key behaviors

coding-to-music commented 3 years ago

https://github.com/denoland

https://github.com/denoland/doc_website/blob/main/pages/about.tsx

https://doc.deno.land/

https://doc.deno.land/about

coding-to-music commented 3 years ago

https://deno.land/manual@v1.11.3/examples

Examples

In this chapter you can find some example programs that you can use to learn more about the runtime.

Basic

Advanced

coding-to-music commented 3 years ago

Deno Examples in my Repo

https://github.com/coding-to-music/deno-exploring/blob/master/README.md

copied from: https://deno.land/manual@v1.11.3/examples

In this chapter you can find some example programs that you can use to learn more about the runtime.

Basic

Advanced

coding-to-music commented 3 years ago

FreeCodeCamp has excellent Deno examples

https://www.freecodecamp.org/news/the-deno-handbook/amp/