What is Node?
- Promises and Async/Await
- ES Modules
Considering many of the design flaws mentioned at the talk couldn’t be fixed without rewriting the core of Node and thus ending the support for legacy applications, Ryan decided to introduce Deno.
What is Deno?
How to install it
# Mac/Linux brew install deno # windows choco install deno
For other installation methods, check the official documentation.
(At the time I’m writing this, the available Deno version is 1.4.0).
Which to choose: Deno vs Node?
The goal of Deno is not to replace Node, but to offer an alternative.
It will depend on the requirements, but for the majority of Node applications, Deno may not be a fit right now. One of the main hurdles to tackle is the creation/conversion of NPM modules to be used with Deno and this will probably change in the future when Node ES Modules support will become more standard.
However, I think we will gradually see Deno get adopted more and more because of its first-class TypeScript support and modern standard library. Node programmers should keep an eye on Deno and maybe try to use it for some side projects.
One thing is sure, Deno’s current development is pushing the JS server ecosystem forward and that’s a good thing.