Installing the SDK
Add the JS SDK to your project to start scripting against Dime.Scheduler. It is published to npm as @dimescheduler/sdk, ships dual CJS + ESM builds, and includes TypeScript types.
Install it with your package manager of choice:
- npm
- yarn
- pnpm
- bun
npm install @dimescheduler/sdk
yarn add @dimescheduler/sdk
pnpm add @dimescheduler/sdk
bun i @dimescheduler/sdk
Prereleases
Alpha, beta, and release-candidate builds (e.g. 0.7.1-beta.0) ship to the next dist-tag. To opt in, append @next:
npm install @dimescheduler/sdk@next
Get an API key
The SDK authenticates with an API key. Generate one for the environment you are targeting: