1.0.5 • Published 5 years ago
eye-of-sauron v1.0.5
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-sauronoryarn add eye-of-sauron - then in your main file add in the top:
import 'eye-of-sauron';you will be able to accesswindow.eyeOfSauronand 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_EVENTSenvironment variable astrueif you wish to show all metrics traces on your screen.