1.1.2 • Published 2 years ago

auto-monitor v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

auto-monitor

#install

npm install auto-monitor

or

pnpm install auto-monitor

or

yarn add auto-monitor

vue react 的应用

import { detectDevice, error, event, monitor, performance, route } from 'auto-monitor'

monitor({
  url: 'http://localhost:4000'
})
  .use('detectDevice', detectDevice())
  .use('performance', performance())
  .use('event', event()).use('route', route())
  .use('error', error()).run((e) => {
    console.log(e)
    return e
  })