1.1.3 • Published 2 years ago

monitor-monkeywh v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

monitor-monkeywh

This is a monitor SDK demo about broswer.

Foreword

Just started, I want to create this SDK for our company to catch "JS Error"、“Broswer performance" like sentry. And provide for everyone who has the same requirement. But lack of ability makes it bad. Now, it can be used as a reference to help you create the system of monitor yourself. If you have any good idea you can send the email to me. my email address is arrogancewh@163.com .

How to use

  1. install the npm module by npm
npm install monitor-monkeywh -D
  1. It can be used like below
import Monitor from 'monitor-monkeywh'

cosnt monitor = new Monitor({
	// the url address of the data update, if you don't set this, the data can be console in broswer.
	uplaodUrl: "http://XXX "   // the url about monitor data update
});

monitor.init();

Function

  1. Catch the error about browser Js Error.
  2. Request information generated by axios or XMLHttpRequest
  3. Base performance info.

At last

I will continue to develop this SDK, and please forgive my bad english grammar. Looking forward to your suggestions.

1.1.1

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago