crash-report-js

1.3.0 • Public • Published

crash-report-js

Tracks User's actions, logs and API calls in frontend applications and then create crash report

Install

npm install crash-report-js

Import

import { initTracks, addTrack, getAllTracks, clearTracks } from crash-report-js

Initiate tracks

initTracks();

Clear tracks

clearTracks();

Add track

addTrack({
  type: 'log',
  target: 'error',
  value: 'error message here'
});

Get all tracks

getAllTracks()

Readme

Keywords

none

Package Sidebar

Install

npm i crash-report-js

Weekly Downloads

0

Version

1.3.0

License

ISC

Unpacked Size

14.8 kB

Total Files

9

Last publish

Collaborators

  • sodhanalibrary