没有合适的资源?快使用搜索试试~ 我知道了~
pkg:将您的Node.js项目打包为可执行文件
共1455个文件
js:1025个
json:324个
txt:35个
需积分: 47 4 下载量 130 浏览量
2021-01-31
11:06:59
上传
评论
收藏 801KB ZIP 举报
温馨提示
免责声明: pkg是为在容器内使用而创建的,并不打算在无服务器环境中使用。 对于使用Vercel的用户,这意味着不需要在项目中使用pkg ,因为它提供的好处不适用于该平台。 通过此命令行界面,您可以将Node.js项目打包为可执行文件,即使在未安装Node.js的设备上也可以运行该可执行文件。 用例 在没有资源的情况下制作商业版本的应用程序 无需资源即可制作应用的演示/评估/试用版 立即为其他平台制作可执行文件(交叉编译) 制作某种自解压的归档文件或安装程序 无需安装Node.js和npm即可运行打包的应用程序 无需通过npm install下载数百个文件即可部署您的应用程序。 将其部署为单个文件 将您的资产放入可执行文件中,使其更具可移植性 在不安装新版本的Node.js的情况下测试您的应用 用法 npm install -g pkg 安装后,运行不带参数的pkg --help来查看选项列表。 项目的入口点是必需的CLI参数。 可能是: 条目文件的路径。 假设它是/path/app.js ,那么打包的应用程序将与node /path/app.js一样工作 package.j
资源推荐
资源详情
资源评论
收起资源包目录
pkg:将您的Node.js项目打包为可执行文件 (1455个子文件)
test-y-resolve.any 56B
fixture.coffee 63B
coffee-script-example.coffee 17B
sakura.css 3KB
test-z-require-content.css 1KB
test-z-asset-A.css 1KB
test-z-asset-B.css 202B
normalize.css 80B
animate.css 55B
test-z-asset.css 32B
test-z-asset.css 30B
test-z-asset.css 30B
external.css 29B
test-z-data.css 10B
test-z-data.css 10B
test-z-data.css 10B
test-z-data.css 10B
test-z-data.css 10B
.eslintignore 9B
.gitignore 238B
checklist.htm 2KB
index.html 137B
fixture.jade 59B
hello.jpg 2KB
bootstrap.js 49KB
walker.js 19KB
test-x2-index.js 16KB
test-x1-index.js 16KB
test-x-index.js 12KB
test-x3-index.js 12KB
index.js 11KB
main.js 11KB
detector.js 10KB
test-x-index.js 8KB
producer.js 7KB
main.js 6KB
common.js 6KB
packer.js 5KB
fabricator.js 4KB
utils.js 4KB
test-x-index.js 3KB
test-x-index.js 3KB
test-x-index.js 3KB
main.js 2KB
test-x-index.js 2KB
main.js 2KB
main.js 2KB
follow.js 2KB
main.js 2KB
test.js 2KB
main.js 2KB
main.js 2KB
refiner.js 2KB
main.js 2KB
test-x-index.js 2KB
test-x-index.js 2KB
main.js 1KB
help.js 1KB
main.js 1KB
main.js 1KB
main.js 1KB
test-x-index.js 1KB
main.js 1KB
sequelize@3.30.4.js 1KB
main.js 1KB
sails.js 1KB
main.js 1KB
times.js 1KB
main.js 1KB
main.js 1KB
node-notifier.js 1KB
test-x-index.js 1KB
test-x-index.js 1024B
main.js 1021B
main.js 1016B
sequelize.js 994B
main.js 993B
main.js 982B
kerberos.js 979B
main.js 970B
main.js 961B
test-x-index.js 956B
main.js 953B
main.js 925B
main.js 922B
main.js 912B
test-y-require-B.js 912B
test-y-require-A.js 912B
test-y-require-C.js 912B
test-y-require-D.js 912B
main.js 907B
test-x-index.js 904B
main.js 883B
main.js 878B
main.js 843B
main.js 837B
main.js 825B
express.js 822B
main.js 808B
main.js 803B
共 1455 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
可爱的小树懒
- 粉丝: 16
- 资源: 4577
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功