TypeScript SDK
Install the TypeScript SDK
Install the Beacon software development kit in a TypeScript project with Bun.
The Beacon software development kit (SDK) provides TypeScript methods for supported developer operations.
Prerequisites
- Use Bun in your project.
- Create a Beacon workspace.
- Create an agent key before the first request.
Install
bun add @beacon/sdkImport the client
import { BeaconClient, BeaconError } from "@beacon/sdk";The SDK does not install other packages. You can use it with Bun, browsers, and Node.js.