Before you go, check out these stories!

Hackernoon logoIn Layman's Terms, What is the Difference Between Node and Deno? by@thatIITGirl

In Layman's Terms, What is the Difference Between Node and Deno?

Author profile picture


Node js developer

Worried that dinosaur or sock shaped "deno" is going to kill our favorite Node? Let me help you to get out of this dilemma.

Before starting, the very first thing to address is "Why Deno is launched?". Deno is created as a convalescent version of Node, both are created by Ryan Dhal. While releasing Node, he thought he could do better with Node, but it was way too famous before he could do anything. So now he chose the chance to release a new avatar of its kind.

So, Let's know what new Deno has that Node doesn't?

Security : Deno is secure by default. A script run with Deno cannot access the file system, network or environment.ย Thus the third party services/ modules cannot exploit if malicious in case. Thus the power to distinguish remains in hold of the developer.


Typescript Support: No transpilation needed. As typescript is built into deno, Painless execution of '.ts' files. Below is the example:

No More NPM Modules... OMG!

So the folder which makes the entire application heavier, wont be there. similarly No HTTP modules will be required. Dependencies will be accessed on the run via urls/remote scripts.

The More Powerful "Await"

No more exclusive coupling of async-await, Await is more powerful doing exorbitant things on plain vanilla promises, like following.

With all main features understood, few more things to go before going to conclusion.

Version 0.0.1 is stable, but it is still working on the unstable features. Also, there are so many projects working on Node, it is tough for a 2 year old new language to replace the ongoing tech in market this easily. Also, its not compatible with NPM packages.

So, with new features like decentralized dependencies ,built-in-tooling etc, in general simultaneous coexistence is a great possibility for these techs but for now Node still has a stronghold.


Join Hacker Noon

Create your free account to unlock your custom reading experience.