SDKs
First-party Node, Python, and Go SDKs wrap emit + verify. Install from GitHub paths until packages are published.
Status
In-repo SDKs, not published packages
Node, Python, and Go clients live under
sdks/. They are typechecked/tested in CI from Git. They are not published to npm, PyPI, or the Go module proxy as versioned releases. Install from the GitHub path until a release is tagged. There is no Java, Ruby, PHP, or .NET SDK.Install
bash
npm install github:sarmaasis/outemit#main:sdks/node
# or from a checkout:
npm install file:./sdks/node
# optional peer:
npm install standardwebhooksVerify helpers
Prefer first-party verify helpers or standardwebhooks packages. Same snippets appear in the Event Catalog drawer.
node
import { Webhook } from "standardwebhooks";
const wh = new Webhook("whsec_...");
const payload = wh.verify(rawBody, {
"webhook-id": headers["webhook-id"],
"webhook-timestamp": headers["webhook-timestamp"],
"webhook-signature": headers["webhook-signature"],
});Emit with SDKs
node
import Outemit from "outemit";
const client = new Outemit({ apiKey: "sk_test_..." });
const msg = await client.messages.create({
appId: "app_...",
eventType: "invoice.paid",
payload: { id: "inv_1" },
idempotencyKey: "demo-1",
});
console.log(msg.id, msg.delivery_ids);CLI
outemit trigger and outemit listen --forward live in cli/outemit.mjs. See CLI docs.