2020년 8월 16일 일요일

Useful NodeJs Libraries

 1. Express

Fast, unopinionated, minimalist web framework for node.

2. Socket.io

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

3. Body-parser

Node.js body parsing middleware.

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

4. Cors

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

5. Passport

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

Passport’s sole purpose is to authenticate requests, which it does through an extensible set of plugins known as strategies.

6. Multer

Multer is a node.js middleware for handling multipart/form-data, which is primarily used for uploading files.

NOTE: Multer will not process any form which is not multipart (multipart/form-data).

7. Axios

Promise based HTTP client for the browser and node.js

8. Morgan

HTTP request logger middleware for node.js

9. Http-errors

Create HTTP errors for Express, Koa, Connect, etc. with ease.

10. Dotenv

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

11. Faker

generate massive amounts of fake data in the browser and node.js

12. Nodemailer

Send e-mails from Node.js — easy as cake! 🍰✉️

13 Sequelize

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.

14 Mongoose

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.

15 Jest

Jest is a JavaScript testing framework developed and maintained regularly by FACEBOOK.

16. Moment

A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.

17. lodash

Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.Lodash’s modular methods are great for:

Iterating arrays, objects, & strings

Manipulating & testing values

Creating composite functions

18. chalk

Terminal string styling done right

Chalk comes with an easy to use composable API where you just chain and nest the styles you want.

19. validator

A library of string validators and sanitizers.

20. Cheerio

Cheerio parses markup like HTML and provides an API for traversing/manipulating the resulting data structure.

21. JSDoc

An API documentation generator for JavaScript.

22. Helmet

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

23. Crypto-js

JavaScript library of crypto standards.