re2020 bt2020_2020年您应该了解的23个极其有用的NodeJ库

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

Fast, unopinionated, minimalist web framework for node.

用于node的快速,不受限制的,极简的Web框架。

2. Socket.io (2. Socket.io)

Image for post

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

Socket.IO支持基于事件的实时双向通信

3. 人体解析器 (3. Body-parser)

Image for post

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

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软件包,用于提供可用于通过各种选项启用CORSConnect / Express中间件。

5. 护照 (5. Passport)

Image for post

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

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

Promise based HTTP client for the browser and node.js

基于Promise的HTTP客户端,用于浏览器和node.js

8. 摩根 (8. Morgan)

Image for post

HTTP request logger middleware for node.js

Node.js的HTTP请求记录器中间件

9. Http错误 (9. Http-errors)

Image for post

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

轻松创建Express,Koa,Connect等的HTTP错误。

10. 多滕夫 (10. Dotenv)

Image for post

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

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

在浏览器和node.js中生成大量假数据

12. Nodemailer (12. Nodemailer)

Image for post

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

从Node.js发送电子邮件-就像蛋糕一样容易! 🍰✉️

13 续集 (13 Sequelize)

Image for post

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

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

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

Jest是由FACEBOOK定期开发和维护JavaScript测试框架。

16. 片刻 (16. Moment)

Image for post

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

一个轻量级JavaScript日期库,用于解析,验证,操作和格式化日期。

17. Lodash (17. lodash)

Image for post

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

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

A library of string validators and sanitizers.

字符串验证程序和消毒程序库。

20. 谢里奥 (20. Cheerio)

Image for post

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

An API documentation generator for JavaScript.

用于JavaScript的API文档生成器。

22. 头盔 (22. Helmet)

Image for post

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

头盔可通过设置各种HTTP标头来帮助您保护Express应用程序。

23. Crypto-js (23. Crypto-js)

Image for post

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
React components shared on Bit.dev:
React在 Bit.dev上共享的组件:

相关故事 (Related Stories)

翻译自: https://blog.bitsrc.io/23-insanely-useful-nodejs-libraries-you-should-know-in-2020-5a9b570d5416

re2020 bt2020

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值