前端锦囊 第5期| 工作中可能用到的 npm 包

大家好,这是《前端锦囊》第5期的内容,整理了一些工作中常用的npm 包,下面这些包你是否用过呢?希望对你有用。【后面持续追加】

qrcode

 

二维码生成工具

https://github.com/soldair/node-qrcode

640?wx_fmt=png

js-cookie

 

对cookie进行增删改查方便了很多

https://github.com/js-cookie/js-cookie

640?wx_fmt=png

cpr

 

将一个文件夹的文件拷贝到另一个文件夹

https://github.com/davglass/cpr

640?wx_fmt=png

ora

 

在命令行显示 loading 图标

https://github.com/sindresorhus/ora

640?wx_fmt=png

shelljs

 

通过代码来执行shell 命令,真香。

https://github.com/shelljs/shelljs

640?wx_fmt=png

helmetjs/helmet

 

最大程度的确保我们 API 的安全性,应用程序应对多种类型的攻击。比如 xss攻击

https://github.com/helmetjs/helmet

640?wx_fmt=png

commander

 

node.js命令行界面的完整解决方案

https://github.com/tj/commander.js

640?wx_fmt=png

chalk

 

命令行输出颜色太单一?来,用这个着色。

https://github.com/chalk/chalk

640?wx_fmt=png

Inquirer.js

 

用户与命令行交互工具

https://github.com/SBoudrias/Inquirer.js

640?wx_fmt=png

download-git-repo

 

下载 git 仓库

https://github.com/flipxfx/download-git-repo

640?wx_fmt=png

jayson

 

一款纯node的rpc应用包,可实现rpc服务、tcp、http等服务

https://github.com/tedeh/jayson

640?wx_fmt=png

nedb

 

JavaScript Database

https://github.com/louischatriot/nedb

640?wx_fmt=png

open

 

打开URL、文件、可执行文件等内容。

https://github.com/sindresorhus/open

640?wx_fmt=png

moment

 

JavaScript 日期处理类库,支持node端与浏览器端

http://momentjs.cn/

640?wx_fmt=png

ccap

 

图形验证码生成库

https://github.com/DoubleSpout/ccap

640?wx_fmt=png

觉得有用的话 请动动手

分享到朋友圈或者技术交流群

让更多人受益

长按关注 >>>
盘它
640?wx_fmt=jpeg
640?wx_fmt=png

我就知道你在看!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zz_jesse

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值