eye-of-sauron
v1.0.5
Published
Browser metrics. Open source. Made simple.
Downloads
3
Maintainers
Readme
Eye of Sauron
If you wish to add poweful metrics to you app - you are at the right place
usage:
- install:
npm i -S eye-of-sauron
oryarn add eye-of-sauron
- then in your main file add in the top:
import 'eye-of-sauron';
you will be able to accesswindow.eyeOfSauron
and triggerwindow.eyeOfSauron.init()
later, or you can use another approach:import EyeOfSauron from 'eye-of-sauron';
and just call it as simple asEyeOfSauron()
, soon you will be able to pass configuration object as an argument - set
VISUALISE_EVENTS
environment variable astrue
if you wish to show all metrics traces on your screen.