crash-report-js
v1.3.0
Published
Tracks User's actions, logs and API calls in frontend applications then create crash report
Downloads
5
Readme
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()