没有合适的资源?快使用搜索试试~ 我知道了~
nexe:of从node.js应用程序中创建一个可执行文件
共61个文件
ts:32个
json:10个
js:6个
需积分: 49 0 下载量 151 浏览量
2021-02-01
12:50:16
上传
评论
收藏 85KB ZIP 举报
温馨提示
npm i nexe -g Nexe是一个命令行实用程序,它将您的Node.js应用程序编译为单个可执行文件。 动机和特点 自包含的应用程序 能够使用不同的node.js运行时运行多个应用程序。 分发二进制文件而无需节点/ npm。 等幂构建 快速启动和部署。 锁定特定的应用程序版本,并轻松回滚。 灵活的构建流程 跨平台构建 用法 应用程序入口点: nexe my-app.js stdin接口 rollup -c | nexe --resource "./public/**/*" -o my-app.exe 有关更多CLI选项,请参见: nexe --help 例子 nexe server.js -r "public/**/*.html" nexe --build nexe -t x86-8.0.0 资源资源 可以通过传递-r "glob/pattern/**/*"将其他文件或资源添加到二进制文件中。 可以使用fs.readFile或fs.readFileSync在应用程序中读取这些包含的文件。 编译节点 默认情况下, nexe将尝试下载预构建的可执行文件。 这些列
资源推荐
资源详情
资源评论
收起资源包目录
nexe-master.zip (61个子文件)
nexe-master
.gitignore 89B
package.json 2KB
tslint.json 245B
package-lock.json 107KB
src
patches
build-fixes.ts 445B
node-rc.ts 794B
ico.ts 403B
flags.ts 383B
gyp.ts 444B
snapshot.ts 729B
boot-nexe.ts 2KB
disable-node-cli.ts 1KB
index.ts 355B
third-party-main.ts 3KB
nexe.ts 1KB
types.d.ts 533B
options.ts 10KB
logger.ts 2KB
steps
cli.ts 2KB
shim.ts 916B
resource.ts 871B
artifacts.ts 2KB
download.ts 3KB
bundle.ts 2KB
clean.ts 656B
fs
package.json 264B
bootstrap.js 794B
patch.ts 13KB
README.md 1KB
bundle.ts 4KB
releases.ts 2KB
util.ts 3KB
compiler.ts 9KB
target.ts 2KB
LICENSE 1KB
index.js 1KB
CHANGELOG.md 3KB
tsconfig.json 244B
.github
PULL_REQUEST_TEMPLATE.md 367B
ISSUE_TEMPLATE
feature.md 215B
bug-report.md 545B
FUNDING.yml 41B
examples
express-app
package.json 275B
package-lock.json 13KB
public
index.html 22B
index.js 167B
README.md 10KB
.vscode
settings.json 383B
extensions.json 75B
azure-pipelines.yml 2KB
test
options.spec.ts 3KB
fixture2
index.js 0B
mocha.opts 73B
fixture
package.json 25B
entry.js 52B
dependency.js 23B
target.spec.ts 1KB
tasks
build.ts 3KB
docker.ts 2KB
post-build.ts 1KB
.editorconfig 146B
共 61 条
- 1
资源评论
weixin_42166626
- 粉丝: 18
- 资源: 4530
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功