npm.io
2.1.3 • Published 2 months ago

@amplitude/rrweb-record

Licence
MIT
Version
2.1.3
Deps
2
Size
4.7 MB
Vulns
0
Weekly
0
Stars
2

@rrweb/record

This package contains all the record related code in rrweb. See the guide for more info on rrweb.

Installation

npm install @rrweb/record

Usage

import { record } from '@rrweb/record';

record({
  emit(event) {
    // send event to server
  },
});

Notes

Currently this package is really just a wrapper around the record function in the main rrweb package. All record related code will get moved here in the future.

Keywords