JSPM

captain-morgan

0.1.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 6
    • Score
      100M100P100Q31476F
    • License ISC

    Real User Monitoring (RUM) data collector

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