re2020 bt2020
As a professional developer, we have to keep update ourselves with the latest and best libraries because nowadays software development is dependent on them if you know good libraries then it will save your hard work and also help in to build good quality software.
作为专业的开发人员,我们必须不断更新最新和最好的库,因为如果您知道好的库,那么当今的软件开发就依赖于它们,这将节省您的辛苦工作,并有助于构建高质量的软件。
It’s a list of best javascript backend libraries in the market even I would recommend you to save it for future references as I did for myself 😜
这是市场上最好的javascript后端库的列表,甚至我也建议您像为我自己所做的那样保存下来,以备将来参考😜
1. 快递 (1. Express)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/a3b16235f21ff7c8470632384e186b53.png)
Fast, unopinionated, minimalist web framework for node.
用于node的快速,不受限制的,极简的Web框架。
2. Socket.io (2. Socket.io)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/da83b0083acca3fbe49720c343da7649.png)
Socket.IO enables real-time bidirectional event-based communication
Socket.IO支持基于事件的实时双向通信
3. 人体解析器 (3. Body-parser)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/384c140cadd0d062e782e2766df84ddb.png)
Node.js body parsing middleware.
Node.js主体解析中间件。
Parse incoming request bodies in a middleware before your handlers, available under the req.body
property.
在处理程序之前,在中间件中解析传入的请求主体,该处理程序在req.body
属性下可用。
4. 肺心病 (4. Cors)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/fac2b0aad7f217369958a6b2182c366e.png)
CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
CORS是一个node.js软件包,用于提供可用于通过各种选项启用CORS的Connect / Express中间件。
5. 护照 (5. Passport)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/aee68659e5acffc11caa922c8f298462.png)
Passport is Express-compatible authentication middleware for Node.js.
Passport是Node.js的 Express兼容身份验证中间件。
Passport’s sole purpose is to authenticate requests, which it does through an extensible set of plugins known as strategies.
Passport的唯一目的是对请求进行身份验证,它通过一组称为策略的可扩展插件来完成。
6. 穆特 (6. Multer)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/cfbb67f085efa2ddf8ccff95a7aaa077.png)
Multer is a node.js middleware for handling multipart/form-data
, which is primarily used for uploading files.
Multer是用于处理multipart/form-data
的node.js中间件,主要用于上传文件。
NOTE: Multer will not process any form which is not multipart (multipart/form-data
).
注意 :Multer将不处理任何非多multipart/form-data
( multipart/form-data
)。
7. Axios (7. Axios)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/f96acb9caf4697a4b6acb20fccff7297.png)
Promise based HTTP client for the browser and node.js
基于Promise的HTTP客户端,用于浏览器和node.js
8. 摩根 (8. Morgan)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/1fdfaffb95b0247e33c76f651a0e0435.png)
HTTP request logger middleware for node.js
Node.js的HTTP请求记录器中间件
9. Http错误 (9. Http-errors)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/f61855692fe09e4c5a867288cde7d66f.png)
Create HTTP errors for Express, Koa, Connect, etc. with ease.
轻松创建Express,Koa,Connect等的HTTP错误。
10. 多滕夫 (10. Dotenv)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/94490a9889afdd47a9e70275f8967c33.png)
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
Dotenv是一个零依赖模块,可将环境变量从.env
文件加载到process.env
。 将配置与代码分开存储在环境中
11. 法克尔 (11. Faker)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/34291cb2da427d60747c8d44d8b2c84a.png)
generate massive amounts of fake data in the browser and node.js
在浏览器和node.js中生成大量假数据
12. Nodemailer (12. Nodemailer)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/268d6a1c958d19f36488b835263803a6.png)
Send e-mails from Node.js — easy as cake! 🍰✉️
从Node.js发送电子邮件-就像蛋糕一样容易! 🍰✉️
13 续集 (13 Sequelize)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/d08ce5d855f20134d7807ce9f6bf1e3e.png)
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.
Sequelize是用于Postgres,MySQL,MariaDB,SQLite和Microsoft SQL Server的基于承诺的Node.js ORM。 它具有可靠的事务支持,关系,急切和延迟加载,读取复制等功能。
14 猫鼬 (14 Mongoose)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/32cd1beffa4ad5e755383f381d5e5292.png)
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.
Mongoose是设计用于异步环境的MongoDB对象建模工具。 猫鼬支持诺言和回调。
15个笑话 (15 Jest)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/229c724384199a690e3acbf9b85824d7.png)
Jest is a JavaScript testing framework developed and maintained regularly by FACEBOOK.
Jest是由FACEBOOK定期开发和维护JavaScript测试框架。
16. 片刻 (16. Moment)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/775bf296f32525f02c5ae89c20d348e8.png)
A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.
一个轻量级JavaScript日期库,用于解析,验证,操作和格式化日期。
17. Lodash (17. lodash)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/806992acce2b4f192e914c21a79c7599.png)
Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.Lodash’s modular methods are great for:
Lodash消除了处理数组,数字,对象,字符串等的麻烦,从而使JavaScript更容易。Lodash的模块化方法非常适合:
- Iterating arrays, objects, & strings 迭代数组,对象和字符串
- Manipulating & testing values 操作和测试值
- Creating composite functions 创建复合函数
18. 粉笔 (18. chalk)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/46539963996936541b7dba141f0e4725.png)
Terminal string styling done right
终端字符串样式正确完成
Chalk comes with an easy to use composable API where you just chain and nest the styles you want.
Chalk带有易于使用的可组合API,您只需在其中链接和嵌套所需的样式即可。
19. 验证器 (19. validator)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/abe14b10c95d0e4f3d4073691c82ce51.png)
A library of string validators and sanitizers.
字符串验证程序和消毒程序库。
20. 谢里奥 (20. Cheerio)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/070b6c86e9bea5fbfed80516d79e5258.png)
Cheerio parses markup like HTML and provides an API for traversing/manipulating the resulting data structure.
Cheerio解析HTML之类的标记,并提供用于遍历/操纵结果数据结构的API。
21. JSDoc (21. JSDoc)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/8dcc383edd64e9300cb961e30bb2df4f.png)
An API documentation generator for JavaScript.
用于JavaScript的API文档生成器。
22. 头盔 (22. Helmet)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/d6e435f8a63c674c0eb715d77d0a376b.png)
Helmet helps you secure your Express apps by setting various HTTP headers.
头盔可通过设置各种HTTP标头来帮助您保护Express应用程序。
23. Crypto-js (23. Crypto-js)
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/0886944a0b25065c36fc762edd8654c6.png)
JavaScript library of crypto standards.
加密标准JavaScript库。
Thanks to every reader or my followers, I made this article with ❤️ specifically for my fellow developers.
多亏了每个读者或我的追随者,我才专为我的开发人员使用❤️撰写本文。
If you find this helpful then surely you find my other following articles
如果您觉得这有帮助,那么您肯定会发现我的以下其他文章
使用Bit共享和管理可重用JS组件 (Share & Manage Reusable JS Components with Bit)
Use Bit (Github) to share, document, and manage reusable components from different projects. It’s a great way to increase code reuse, speed up development, and build apps that scale.
使用Bit ( Github )共享,记录和管理来自不同项目的可重用组件。 这是增加代码重用,加速开发并构建可扩展应用程序的好方法。
Bit supports Node, TypeScript, React, Vue, Angular, and more.
Bit支持Node,TypeScript,React,Vue,Angular等。
![Image for post](https://i-blog.csdnimg.cn/blog_migrate/4581bfd7397eb7d7a860c5e209a95e76.png)
相关故事 (Related Stories)
翻译自: https://blog.bitsrc.io/23-insanely-useful-nodejs-libraries-you-should-know-in-2020-5a9b570d5416
re2020 bt2020