1.0.0-alpha.12 • Published 2 years ago

@watchcathq/fastify v1.0.0-alpha.12

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

npm.io @watchcathq/fastify

Fastify plugin for watchcat.io.

Installation and Usage

To install the package, use your preferred package manager:

npm install @watchcathq/fastify
yarn add @watchcathq/fastify

Once you have installed the package, you need to set it up by importing the package and initializing it with your application token:

// ESM
import WatchCat from "@watchcathq/fastify";

// CommonJS
const WatchCat = require("@watchcathq/fastify").default;

WatchCat.init({
    token: "APP_TOKEN"
})

Next, you need to set up the error logging:

fastify.addHook('onError', WatchCat.onError);

Documentation

See https://watchcat.io/docs

1.0.0-alpha.12

2 years ago

1.0.0-alpha.11

2 years ago

1.0.0-alpha.10

2 years ago

1.0.0-alpha.9

2 years ago

1.0.0-alpha.6

2 years ago

0.2.0

2 years ago