【文件属性】:
文件名称:conchk:node.js中的简单Internet连接检查器
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-20 16:08:37
JavaScript
康克
一个简单的Internet连接检查器。 如果我遇到难以诊断的间歇性问题,我可以用它每秒记录一次我的Internet连接状态。 这是向宪章表明问题所在的好方法。
// Usage example. By default Check will log to the console, but not a file.
var Check = require('conchk'),
options = { silent-console: true, filename: 'output.log'},
checker = Check('google.com', 80, options);
setInterval(checker, 1000);
【文件预览】:
conchk-master
----README.md(509B)
----index.js(1KB)
----package.json(325B)