For example, to read from standard input in Node.js, one has to use a callback since it does not use promises. Many of the Node.js essential functionalities use callbacks instead of promises as well.
Deno uses promises in its standard library, which enables us to use async/await to make the code more readable.
Also, Deno has the following features:
- Dies immediately on unhandled errors
- Better security
- Supports TypeScript out of the box
Deno is now a stable project and almost has the same number of GitHub stars as Node.js has. Which means it is quite popular and adopted by the community.