Have ideas to improve npm?Join in the discussion! »

captain-morgan

0.1.0 • Public • Published

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

Install

npm i captain-morgan

DownloadsWeekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • avatar