@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)
    }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @trywatchman/watchman

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

20.4 kB

Total Files

8

Last publish

Collaborators

  • elvis-onobo