AlertshubClient
Description
AlertshubClient is an npm package that provides a client SDK for working with the Alerts hub service. It allows you to interact with the service and trigger notifications.
Installation
To install, you can use npm or yarn:
npm install @crayond_dev/alertshub-client-sdk
yarn add @crayond_dev/alertshub-client-sdk
Usage
Importing AlertshubClient
import AlertshubClient from "@crayond_dev/alertshub-client-sdk";
import { AlertshubClient } from "@crayond_dev/alertshub-client-sdk";
Creating an Instance
To create an instance of AlertshubClient,
const params = {
apiKey: "<YOUR_API_KEY>", // Replace with your API key
};
const AlertshubClient = new AlertshubClient(params);