Features Deno v1.3.3 Node.js v14.4.0
Language Rust C++
JS engine V8 V8
Bundler Yes No
URL imports Yes No
Browser APIs Yes No
In-built package manager No Yes
Compiling to executable No No (third party)
Explicit imports Yes No
Secure by default Yes No
Binary size ~44mb ~68mb
/*
Node.js is the de facto JavaScript runtime for use on servers and
local machines. It’s well-liked, versatile, and supported by a strong
community.
Deno is a newer runtime that aims to address some of Node.js’ shortcomings.
*/
Deno uses ES Modules as the default module system,
whereas Node. js uses CommonJS.
External dependencies are loaded using URLs,
similar to browsers.
There is also no package manager and centralized registry,
modules can be hosted everywhere on the internet.