Package Exports
- captain-morgan
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (captain-morgan) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Captain Morgan
Real User Monitoring (RUM) data collector
Usage
import { monitor } from 'captain-morgan';
const reporter = (report) => console.log('captains log', report);
monitor(reporter);A reporter is called with report events. These can then be transported as desired (collated into POSTs, websocket writes, etc).