https://github.com/corcd/gdy-rrweb-plugin
Normal web record & replay plugin
https://github.com/corcd/gdy-rrweb-plugin
javascript rrweb
Last synced: over 1 year ago
JSON representation
Normal web record & replay plugin
- Host: GitHub
- URL: https://github.com/corcd/gdy-rrweb-plugin
- Owner: corcd
- License: isc
- Created: 2020-06-02T07:34:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T07:46:29.000Z (over 3 years ago)
- Last Synced: 2024-05-18T07:45:45.652Z (about 2 years ago)
- Topics: javascript, rrweb
- Language: JavaScript
- Homepage:
- Size: 763 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gdy-rrweb-plugin
An automated capture reporting tool based on the RRweb open-source project
New matched server-side: [https://github.com/corcd/egg-rrweb-server]()
Old matched server-side: [https://github.com/corcd/rrweb-server]()
## Install
### NPM
```bash
npm install gdy-rrweb-plugin --save
yarn add gdy-rrweb-plugin
```
```javascript
import RRgdy from 'gdy-rrweb-plugin'
```
### Resource
1. Download `dist/gdy-rrweb.min.js` to location
2. Use `script` to import file
```html
report test
```
## Usage
```javascript
import RRgdy from 'gdy-rrweb-plugin'
const rrgdy = new RRgdy(uin, 'xxxx', 'url')
```
### record
```javascript
rrgdy.record()
```
### stop
```javascript
rrgdy.stop()
```
### export
```javascript
rrgdy.export('url')
```
### restore
```javascript
rrgdy.restore('binaryString')
```
### replay
```javascript
rrgdy.replay()
```
## License
ISC