1.0 KiB
More information for developers
To start development see how to install the source here.
All npm commands
-
npm run serveto run the application from the source code -
npm run testto run the tests -
npm run inspectto run the application with the inspect flag, which allows profiling in Chrome (chrome://inspect). -
npm run buildto compile and build OS native applications -
npm run generate-prefixes -- --a ASN(S) --o OUTPUT_FILEto generate the monitored prefixes file
Composition notes
You can compose the tool with 3 main components: connectors, monitors, and reports.
Important: All connectors MUST extend the class Connector. Monitors extend the class Monitor. Reports extend the class Report. From the superclass they will inherit various generic methods while some have to be implemented.
Reports don't receive only alerts but also the data that provoked such alerts (so you can store the data and replay the accident later).