@trywatchman/watchman

0.0.4 • Public • Published

Watchman

This package allows you to easily catch errors in your code with Watchman

NB: You need to have a Watchman account to use this package. Sign up at https://www.trywatchman.com/

Installation

npm install watchman

Usage

import Watchman from 'watchman'

const watchman = new Watchman('your-api-key', 'your-environment')

async function doSomething() {
    try {
        // doing something
    } catch (error) {
        watchman.capture(error)
    }
}

Package Sidebar

Install

npm i @trywatchman/watchman

Weekly Downloads

2

Version

0.0.4

License

ISC

Unpacked Size

20.4 kB

Total Files

8

Last publish

Collaborators

  • elvis-onobo