0
实用 npm 包
source link: https://blog.hclonely.com/posts/2413eaa8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
本文最后更新于561天前,内容可能已不再适用!
为了避免每次找模块时都要百度,这里记一下我比较常用的模块及其简单的使用。
cheerio
cheerio是 jquery 核心功能的一个快速灵活而又简洁的实现,主要是为了用在服务器端需要对 DOM 进行操作的地方。
Shell
JavaScript
axios-https-proxy-fix
axios-https-proxy-fix是修复axios代理 https 失败的分支版本。
Shell
moment
moment是一个 JavaScript 日期处理类库,用于解析、检验、操作、以及显示日期。
Shell
JavaScript
Lodash
Lodash是一个一致性、模块化、高性能的 JavaScript 实用工具库。
Shell
ali-oss
ali-oss是使用 NodeJs 操作阿里云 OSS 官方模块。
Shell
Puppeteer
Puppeteer是一个 Node 库,它提供了一个高级 API 来通过 DevTools 协议控制 Chromium 或 Chrome。
Shell
nrm(npm registry manager )是 npm 的镜像源管理工具,有时候国外资源太慢,使用这个就可以快速地在 npm 源间切换。
Shell
查看可选的源
Shell
切换到 taobao 源
Shell
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK