@saswatb/skywatch-sdk
v0.1.3
Published
The TypeScript SDK for SkyWatch.
Downloads
6
Readme
@saswatb/skywatch-sdk
The TypeScript SDK for SkyWatch.
Installation
npm install @saswatb/skywatch-sdkUsage
The following example shows how to log a message to the SkyWatch API. You can get the API key from your project's dashboard.
import { sw } from "@saswatb/skywatch-sdk";
// omit if you have the SKYWATCH_API_KEY environment variable set
sw.init({
apiKey: "your-api-key",
});
sw.log("Hello, world!");Community
Join the Discord to chat with the community and the team.
