Sitemap
JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Deno vs. Node.js — Here Are the Most Important Differences

6 min readMay 17, 2020

--

Is Deno the new Node.js? Or is it just a nice alternative? In this article we will go into some important differences and features — have fun!

The main differences between Node.js & Deno:

  • Deno uses Rust under the hood, but also the V8 engine, just like Node.js.
  • Deno supports TypeScript out of the box. It can also deal with JavaScript, without any problem, out of the box.
  • Deno does not support NPM packages, and does not use the node_modules directory. Libraries are imported via the URL.
  • Deno uses a permission-system for code to be executed.
  • The window object is supported in Deno — even though, we are writing back-end code.
Press enter or click to view image in full size
Deno Node.js

The history and story behind Deno

Now already treated by some as the next big thing, and come to displace Node.js, both have one origin: Ryan Dahl

Dahl worked on the Node project since 2009, but stepped back from it a few years later. In 2018 he gave the 10 Things I Regret About Node.js talk, in which he also announced Deno — a new…

--

--

JavaScript in Plain English
JavaScript in Plain English

Published in JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Louis
Louis

Written by Louis

Web dev. Figuring out life, one idea at a time.