ch-go
v1.0.3
Published
A powerful CLI utility tool for website performance analysis
Downloads
357
Maintainers
Readme
ch-go
Feature
- 获取网站性能数据,结合代码给出针对性优化建议
- 支持分析移动端、pc端website
- api可配置化
Install
npm install -g ch-go
or
pnpm add -g ch-go
Basic Usage
ch-go analyze https://m.58.com -d "mobile"
Options
- -d --device 设备类型 pc|mobile
- -k --key 模型ky
- -u --url 模型api
Tip
模型key、api 可通过显示命令传入也可在项目内创建ch-go.config.json
// ch-go.config.json
{
"KEY":"xxxxxxxxxxxx",
"URL":"xxxxxxxxxxxxxxxxxxxxxxxxxx"
}
