DEV Community

Abhishek Bharti
Abhishek Bharti

Posted on

Highly Useful ✨ Express Frameworks πŸ‘ŒπŸ‘Œ

POST IS IN PROGRESS....

1. Joi Validation Framework

The most powerful schema description language and data validator for JavaScript.

Official Joi Website

2. dotenv Manage Environment Variables

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.

Explore dotenv

3. bcrypt Encryption Framework

It is always good practice to hash the passwords before storing it to database. bcrypt make it very easy to hash the password with random salt.

Explore bcrypt

4. winston Logger

Winston is designed to be a simple and universal logging library with support for multiple transports. A transport is essentially a storage device for your logs. Each instance of a winston logger can have multiple transports configured at different levels. For example, one may want error logs to be stored in a persistent remote location (like a database), but all logs output to the console or a local file.

Explore Winston

5. morgan HTTP request logger

HTTP request logger middleware for node.js

Explore Morgan

6. debug Another library for debugging'

A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers.

Explore debug

7. i18n Localisation

Lightweight simple translation module with dynamic JSON storage. Supports plain vanilla Node.js apps and should work with any framework (like Express, restify and probably more) that exposes an app.use() method passing in res and req objects.

Explore i18n

8. express-async-errors Removes need to add try/catch

Expressjs handles error on try/catch basis, which is very helpful, but doesn't take care of asynchronous errors (errors in callbacks). This middleware handles those with usage of domains.

Explore express-async-errors

9. nodemon Good for node.js development - auto-start server

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.

Explore nodemon

10. Cors For adding CORS headers

CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.

Explore cors

Top comments (0)