gdy-rrweb-plugin

0.2.14 • Public • Published

gdy-rrweb-plugin

An automated capture reporting tool based on the RRweb open-source project

Matching server-side: https://github.com/corcd/rrweb-server

Install

NPM

npm install gdy-rrweb-plugin --save
yarn add gdy-rrweb-plugin
import RRgdy from 'gdy-rrweb-plugin'

Resource

  1. Download dist/gdy-rrweb.min.js to location
  2. Use script to import file
<html>
<head>
  <meta charset="UTF-8">
  <title>report test</title>
  <script src="../dist/gdy-rrweb.min.js"></script> 
</head>

Usage

import RRgdy from 'gdy-rrweb-plugin'
 
const rrgdy = new RRgdy(uin, 'xxxx', 'url')

record

rrgdy.record()

stop

rrgdy.stop()

export

rrgdy.export('url')

restore

rrgdy.restore('binaryString')

replay

rrgdy.replay()

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i gdy-rrweb-plugin

Weekly Downloads

0

Version

0.2.14

License

ISC

Unpacked Size

9.66 kB

Total Files

7

Last publish

Collaborators

  • whzcorcd