0.1.3 • Published 2 months ago
@saswatb/skywatch-sdk v0.1.3
@saswatb/skywatch-sdk
The TypeScript SDK for SkyWatch.
Installation
npm install @saswatb/skywatch-sdk
Usage
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.