没有合适的资源?快使用搜索试试~ 我知道了~
patteru-cli:用于负载均衡器的CLI工具
共36个文件
ts:24个
json:5个
npmignore:1个
需积分: 5 0 下载量 24 浏览量
2021-05-08
04:14:52
上传
评论
收藏 83KB ZIP 举报
温馨提示
帕特鲁JS 适用于小型负载均衡器的 CLI工具 描述 Patteru CLI是一个命令行界面工具,可帮助您测试如何在负载均衡器中运行项目。 正在安装 安装以供全球使用 npm i -g @patterujs/cli 在当前项目中安装 npm i --save-dev @patterujs/cli 安装完成后,将脚本添加到项目中的package.json中。 { " script " : { " balancer " : " patteru start filename.js " } } 用法 要使用PatteruJS运行项目,必须将process.env.PORT添加到项目中,如下例所示。 在Express中使用的例子 // index.js const express = require ( 'express' ) ; const app = express ( )
资源推荐
资源详情
资源评论
收起资源包目录
patteru-cli-main.zip (36个子文件)
patteru-cli-main
commands
index.ts 70B
abstract.command.ts 215B
command.loader.ts 819B
start.command.ts 663B
command.argument.ts 100B
lib
utils
local-libraries.ts 474B
worker-file.ts 263B
worker-port.ts 357B
ui
emojis.ts 316B
index.ts 54B
banner.ts 291B
prefixes.ts 393B
child
child-worker.ts 1KB
server
load-balancer.ts 1KB
index.ts 62B
lb-config.ts 138B
.npmignore 264B
tsconfig.json 285B
LICENSE 1KB
tools
gulp
config.ts 62B
gulpfile.ts 24B
tasks
clean.ts 797B
util
task-helpers.ts 374B
tsconfig.json 579B
actions
index.ts 67B
abstract.action.ts 146B
start.action.ts 2KB
.prettierrc 80B
README.md 2KB
.release-it.json 139B
.npmrc 36B
.gitignore 256B
bin
patteru.ts 766B
package-lock.json 210KB
package.json 2KB
static
index.html 31KB
共 36 条
- 1
资源评论
weixin_42128015
- 粉丝: 20
- 资源: 4641
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功