Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ta-monitor

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ta-monitor

Front end analytics and error monitoring tool

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

TA Monitor

Usage

First, install the npm package with your favorite tool. We recommend yarn.

yarn add ta-monitor

Next, import and instantiate the base class.

import TAMonitor from 'ta-monitor'

const monitor = new TAMonitor()

export default monitor

This instance is what you should use to log events across your application. To wire these events up to external API's, you can subscribe to the monitor instance to take action on events as they are emitted.

Reporters

import TAMonitor from 'ta-monitor'
import consoleReporter from 'ta-monitor/lib/reporters/console'
import sentryReporter from 'ta-monitor/lib/reporters/sentry'

const monitor = new TAMonitor()

monitor.subscribe(consoleReporter())
monitor.subscribe(sentryReporter('your-api-key-here'))

export default monitor

FAQs

Package last updated on 01 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc