Skip to content
#

Deno

deno logo

Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience. It's built on V8, Rust, and Tokio.

  • Secure by default. No file, network, or environment access (unless explicitly enabled).
  • Supports TypeScript out of the box.
  • Ships a single executable (deno).
  • Has built in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
  • Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno.
  • Scripts can be bundled into a single javascript file.

Here are 387 public repositories matching this topic...

bartlomieju
bartlomieju commented Apr 16, 2020

To have Deno namespace in the worker, we'll want to provide a map of permissions worker should have. Worker's set of permissions mustn't escalate permissions of parent worker/Deno process.

To achieve that a method called fork should be added to DenoPermissions struct. fork would take as many parameters as there are fields on DenoPermissions and return new DenoPermissions instance a

ZPiDER666
ZPiDER666 commented Apr 17, 2020

The examples contained with pogo are very basic.

  • working with request objects should be demonstrated
  • working with path parameters should be demonstrated
import pogo from 'https://deno.land/x/pogo/main.js';
server.router.put('/path/{id}', async (request:pogo.Request) => {
    var id:String = request.route.params.id;	
});
  • working with request body should be demonstrated

Created by Ryan Dahl

Organization
denoland
Website
deno.land
Wikipedia
Wikipedia

Related Topics

rust typescript
You can’t perform that action at this time.