Skip to content

SodhanaLibrary/crash-report-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crash-report-js

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

Usage and example

Here i have documented the purpose and React example application http://blog.sodhanalibrary.com/2024/01/track-user-actions-and-errors-using.html

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()

Chrome extension (crash-report-js)

https://chromewebstore.google.com/detail/crash-report-js-extension/pacgfjjelhfpalaoniejckhjpkibonib

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published