We use pnpm instead of NPM to manage dependencies.
- Install dependencies via
pnpm i - Create a configuration file, like `or.js'
startUrlis the entry URL where to begin checkingdomainsdefines the hostname which also should be checked- Validate your site via
node index.js --config=your-config.js
- 使用
pnpm i安装依赖 - 参考
or.js的格式,创建你的配置文件 startUrl表示开始检查的入口domains表示哪些域名需要被检查- 接下来,执行
node index.js --config=你的配置文件.js开始检查即可