Node.js’s npm package system is the world’s largest ecosystem of open source libraries and has built thousands of open-source libraries for Node.js.
Features of node.js
1) Asynchronous and Event Driven :
Mainly all APIs of Node.js library are asynchronous, it means its non-blocking. Node.js based server always ready for an API to return data response. It never waits to the previous API to complete and then moves to the next. The server moves to the next API after calling it and server have a notification mechanism of Events of Node.js which helps it to get the response from the previous API call. that’s Why it’s very fast.
2) Very Fast :
3) Single-Threaded and Highly Scalable :
Node.js based on the single-threaded model with event looping. Its event mechanism is helpful to respond in a non-blocking way and can handle many requests with the single-threaded program.
4) No Buffering :
No buffering by using Node.js because these applications simply output the data in chunks.
5) Open Source
Node.js has an open source community and have built thousands of open-source libraries to use.