安装: npm install -g npm-check-updatesnpm
使用:json
检查package.json中dependencies的最新版本: ncuci
更新dependencies到新版本: ncu -udate
更新所有dependencies到最新版本(包括当前指定版本范围知足最新版本号的,好比^4.2.0 -> ^4.3.0): ncu -apackage.json