Md Toy Blog



Additions to node js 2020

Worker threads

One of the biggest limitations of javascript that people like to point out is that it is single threaded, that means that you can't have two single processes running at the same time.

In 2020 that is no longer an issue because we have the Worker thread module. It opens the door to using multiple threads to execute javascript in parallel.

Support for ES modules

In node 13 you can use:

import { Hello } from 'greet';
// instead of var mod = require('greet'); mod.Hello


It is one of the fastest growing backend tools for node is Nestjs. It takes advantage of typescript to build server side applications that scale and are very developer friendly. Nestjs can also help you integrate with GraphQL.