Lodash

  • Performance
  • Clean
  • Consistent
  • Modularity
  • Composable
  • Easy to use
  • Optimization
npm i lodash

underscore.js

underscore.js is a utility-belt library for JavaScript that provides support for the usual functional suspects (each, map, reduce, filter...) without extending any core JavaScript objects.

npm i underscore

body-parser

Node.js body parsing middleware. Parse incoming request bodies in a middleware before your handlers, available under the req.body property.

  • JSON body parser
  • Raw body parser
  • Text body parser
  • URL-encoded form body parser
  • Form data body parser Install
npm i body-parser

Usage

var express = require('express')
var bodyParser = require('body-parser')
app.use(bodyParser.json()) // for parsing application/json
// for parsing application/x-www-form-urlencoded
app.use(bodyParser.urlencoded({ extended: true })) 

helmet.js

Helmet helps you secure your Express apps by setting various HTTP headers.

npm i helmet

Usage

var express = require('express')
var helmet = require('helmet')
var app = express()
app.use(helmet())

Bull

Bull is a Node library that implements a fast and robust queue system based on Redis.

  • If we want to send an email to 1000 users, we can use Bull to queue the email sending task and send it in the background.
  • They use Stack to store the data and Redis to store the queue.
  • Bull is a Node library that implements a fast and robust queue system based on Redis.
npm i bull

Nodemailer

Nodemailer is a module for Node.js applications to allow easy as cake email sending.

npm i nodemailer

Event

Event is a module for Node.js applications to allow easy as cake event sending.

npm i event

cors policy

Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin.

npm i cors

Usage

var express = require('express')
var cors = require('cors')
var app = express()
app.use(cors())

express

Fast, unopinionated, minimalist web framework for node.

npm i express

mongoose

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.

npm i mongoose

nodemon

nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.

npm i nodemon

passport

Passport is Express-compatible authentication middleware for Node.js.

npm i passport

passport-local

Passport strategy for authenticating with a username and password.

npm i passport-local

passport-local-mongoose

Mongoose plugin that simplifies building username and password login with Passport.

npm i passport-local-mongoose

socket.io

Socket.IO enables real-time bidirectional event-based communication.

npm i socket.io

socket.io-client

Socket.IO enables real-time bidirectional event-based communication.

npm i socket.io-client

socket.io-redis

Adapter to enable broadcasting of events to multiple separate Socket.IO server nodes.

npm i socket.io-redis