npk:Node.js 打包实用程序

上传者: 42125192 | 上传时间: 2022-10-01 17:03:25 | 文件大小: 12KB | 文件类型: ZIP
NPK 用于捆绑 javascript 和资源文件的 Node.js 打包实用程序。 用法 通过 NPM 全局安装 NPK: npm install npk -g 使用命令打包你的项目: npk tests/purejs/ 打包后,NPK 会创建一个新文件夹out用于打包。 你可以在那里找到包: tests/purejs/out/app.js/ 最后,您可以直接运行打包的应用程序: node tests/purejs/out/app.js/app.js 三级包装 NPK 为您的项目打包提供了三个级别的特殊和有趣的选项。 删除模型(默认) npk [project path] 妈妈不认识 npk [project path] --mom-doesnt-recognize 爸爸不认识 在这个级别,NPK 正在使用 C/C++ 编译器打包您的项目,以生成一个 Node.

文件下载

资源详情

[{"title":"( 22 个子文件 12KB ) npk:Node.js 打包实用程序","children":[{"title":"npk-master","children":[{"title":"lib","children":[{"title":"compiler.js <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"symbol_table.js <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"npk.js <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"linker.js <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"purejs","children":[{"title":"lib","children":[{"title":"a.js <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"d","children":[{"title":"e.js <span style='color:#111;'> 456.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"c.js <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"b.js <span style='color:#111;'> 122B </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"data.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 239B </span>","children":null,"spread":false}],"spread":true},{"title":"complex","children":[{"title":"lib","children":[{"title":"main.js <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"subdir","children":[{"title":"d.js <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"subagain","children":[{"title":"e.js <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":true},{"title":"c.js <span style='color:#111;'> 85B </span>","children":null,"spread":false}],"spread":true},{"title":"a.js <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"b.js <span style='color:#111;'> 54B </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"npk <span style='color:#111;'> 586B </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 676B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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