Nodejs的宝藏模块

                                               Nodejs的宝藏模块

event模块

https://www.cnblogs.com/starof/p/5035522.html

bluebird模块

bluebird是一个第三方Promise规范实现库,它不仅完全兼容原生Promise对象,且比原生对象功能更强大。

https://github.com/petkaantonov/bluebird/

http://bluebirdjs.com/docs/api-reference.html

https://www.cnblogs.com/showtime813/p/nodejs.html

mime模块

https://www.cnblogs.com/jeacy/p/6992435.html

URL模块

https://www.jianshu.com/p/9100a5311a49

underscore模块

https://underscorejs.bootcss.com/

lodash模块

是一个一致性、模块化、高性能的 JavaScript 实用工具库。

https://www.lodashjs.com/

exceljs模块

读取,操作并写入电子表格数据和样式到 XLSX 和 JSON 文件。

一个 Excel 电子表格文件逆向工程项目。

https://github.com/exceljs/exceljs

crypto模块

提供了加密功能,实现了包括对 OpenSSL 的哈希、HMAC、加密、解密、签名、以及验证功能的一整套封装。

https://www.jianshu.com/p/c5c8c19bc80a

debug模块

大家都知道在node程序开发中时,经常需要打印调试日志。用的比较多的是debug模块,比如express框架中就用到了。

https://www.jb51.net/article/112108.htm

axios模块

https://github.com/axios/axios

normalize-url 模块

标准化URL

https://github.com/sindresorhus/normalize-url

parse-domain模块

https://github.com/peerigon/parse-domain

bottleneck模块

https://github.com/SGrondin/bottleneck

better-sqlite3模块

https://github.com/JoshuaWise/better-sqlite3

jszip模块

压缩

https://segmentfault.com/a/1190000021528488

filenamify-url模块

将url转化为合法的文件名。

https://github.com/sindresorhus/filenamify-url

domain-match模块

Check if a given url matches against simple domain name patterns.

https://www.npmjs.com/package/domain-match

superagent模块

superagent它是一个强大并且可读性很好的轻量级ajaxAPI,是一个关于HTTP方面的一个库,而且它可以将链式写法玩的出神入化。

https://www.jianshu.com/p/98b854322260

https://github.com/zhaoqize/blog/issues/13

https://www.npmjs.com/package/superagent

superagent-charset模块

使用superagent爬取网站内容,当网页编码不是utf-8编码时,中文就会返回乱码,原因是superagent只支持utf-8的网页编码,我们可以使用其扩展的一个npm模块superagent-charset。

https://cloud.tencent.com/developer/article/1445392

https://github.com/magicdawn/superagent-charset

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值