NodeJS has been introduced 6 years ago and took some time to gain popularity. And now it becomes most successful technology. One aspect of NodeJS that makes it popular is the large numbr of third party modules are available to use. We can find any module and use it for free. And popularity increases, list of modules increased with it and its almost dificult to choose which module we should have to use. Because you’ll find multiple modules for same purpose.
In this post, I’m listing out 11 modules that every NodeJS developer should use.
npm install async
Request — Simplified HTTP Client
Request is designed to be the simplest way possible to make http calls. It supports HTTPS and follows redirects by default. Our App needs to deal with external HTTP calls for load data or send data. And Request makes it easy, secure and reliable. It also works good with authentication methods.
npm install request
npm install browserify
PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
npm install PM2
npm install socket.io
npm install mocha
Ever wanted to use jQuery ar server side? Do it with Cheerio. Cheerio is a fast, flexible, and lean implementation of core jQuery designed specifically for the server.
npm install cheerio
Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more.
npm install passport
Nodemailer is a module for Node.js applications to allow easy as cake email sending. The project got started back in 2010 when there was no sane option to send email messages, today it is the solution most Node.js users turn to by default.
npm install nodemailer
Morgan is one of the popular libraries for Node developers. Morgan is another HTTP request logger middleware for Node.js. It simplifies the process of logging requests to your application. You might think of Morgan as a helper that collects logs from your server, such as your request logs.
npm install morgan
restify is a node.js module built specifically to enable you to build correct REST web services. It intentionally borrows heavily from express as that is more or less the de facto API for writing web applications on top of node.js.
npm install restify
Thanks for visiting CodePortal and reading this blog!