@sailhouse/client
v1.1.0
Published
The [Sailhouse](https://sailhouse.dev) Client provides an idomatic abstraction over the Sailhouse HTTP API.
Downloads
5
Readme
Sailhouse Client ⛵
The Sailhouse Client provides an idomatic abstraction over the Sailhouse HTTP API.
Basic Use
const token = "sh_" // ......
const client = new SailhouseClient(token);
await client.sendEvent("test-event", { message: "Hello World!" });