More than a decade after Node.js was released, a new runtime environment is here developed by Ryan Dhal, Node.js creator. A secure runtime to JavaScript/TypeScript built with Rust, Tokio and V8. Let’s make a brief walkthrough around its key features with a deno-example project.

Security

Deno works as a sandbox, blocking all direct accesses with the operating system (Disk, Network, Env variables, etc.). To execute your deno app you have to grant permission explicitly depending on how much access it’s going to have.

For example, if you want to execute our deno-example project you should run this:

deno --allow-net --allow-read server.ts

Marco Franceschi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store