Skip to content
BENIBIX Learn

Deno

Development⚙️ Compilers & RuntimesRuntimes

Also known as Deno Runtime, Deno.js

A newer tool to run code outside the browser. It asks before it opens your files.

Think of it like

Think of it like a new house from the same builder. It has locks on each door from day one.

Example

Deno was created by Ryan Dahl and reached version 1.0 in 2020. Lucy runs a script with it, and it stops to ask before it reads her files.

Why it matters

A bad package cannot read your files or send data out unless you say yes.

Definition

Deno is a newer program that runs JavaScript and TypeScript off the browser. It was made by the same person who made Node.js, to fix early choices in Node.js. Code cannot touch files or the network unless you allow it. It runs TypeScript with no extra setup. It comes with its own formatter and test tool. It can also run most Node.js packages.

Common mistake

Allowing every permission with one flag to stop the prompts. That throws away the main safety.

Key takeaways

  1. 1
    Safe by default. Ask before files or network.
  2. 2
    TypeScript built in. No setup to run it.
  3. 3
    Tools included. Formatter, tests and more.