npmfix:Node.js CLI工具,用于修复使用NPM作为程序包管理器的项目中的完整性检查问题-源码

上传者: 42148975 | 上传时间: 2021-05-12 10:02:53 | 文件大小: 30KB | 文件类型: ZIP
npmfix CLI工具,用于修复使用NPM管理依赖项的项目中的完整性检查问题。 查看有关此项目的我的。 要求 NPM Node.js 安装 通过运行以下命令来安装CLI: npm i -g npmfix 这个怎么运作 通常,这些问题是由程序包缓存损坏或package-lock.json文件损坏引起的。 Npmfix通过一个简单的算法解决了这些问题: 仅在当前文件夹具有package.json文件时继续 删除node_modules文件夹 删除package-lock.json文件 您可以传递其他参数来扩展默认行为。 请查看下一部分以获取更多信息。 用法 npmfix [options] Options: -V, --version output the version number -s, --serious Serious fix mode: perfo

文件下载

资源详情

[{"title":"( 46 个子文件 30KB ) npmfix:Node.js CLI工具,用于修复使用NPM作为程序包管理器的项目中的完整性检查问题-源码","children":[{"title":"npmfix-master","children":[{"title":".gitignore <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 17.43KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"npmfix.js <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"fix.js <span style='color:#111;'> 4.87KB </span>","children":null,"spread":false},{"title":"program.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":[{"title":"images","children":[{"title":"npmfix.png <span style='color:#111;'> 5.90KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"fix.spec.js <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"npl","children":[{"title":"package.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"folder","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"nl","children":[{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"folder","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"recursive","children":[{"title":"nl","children":[{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"npl","children":[{"title":"package.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"npl","children":[{"title":"package.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"folder","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"nl","children":[{"title":"package-lock.json <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"node_modules","children":[{"title":"module","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"folder","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"folder","children":[{"title":"file.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明