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 实用工具库。
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。