@crayond_dev/message-catalogue-client-sdk
v1.1.8
Published
## Description
Downloads
74
Readme
MessageCatalogueClient
Description
MessageCatalogueClient is an npm package that provides a client SDK for working with the Message Catalogue service. It allows you to interact with the service and fetch the messages for different language.
Installation
To install, you can use npm or yarn:
npm install @crayond_dev/message-catalogue-client-sdk
# or
yarn add @crayond_dev/message-catalogue-client-sdk
Usage
Importing MessageCatalogueClient
import MessageCatalogueClient from "@crayond_dev/message-catalogue-client-sdk";
# or
import { MessageCatalogueClient } from "@crayond_dev/message-catalogue-client-sdk";
Creating an Instance
To create an instance of MessageCatalogueClient,
const params = {
apiKey: "<YOUR_API_KEY>", // Replace with your API key
};
const MessageCatalogueClient = new MessageCatalogueClient(params);