watchman-web
v1.0.2
Published
A lightweight performance monitoring error reporting plugin
Downloads
3
Readme
watchman
A lightweight performance monitoring error reporting plugin
使用说明
import WatchMan from 'watchman-web'
const watchman = new WatchMan({
url: 'localhost:3000/report' // 错误上报接口
interval: 5000 // 上报频率
})
/* 手动上报 */
watchman.send({})