Docs
SDK installation
Add @eanvi/sdk to a Node.js or TypeScript project.
SDK installation
npm / pnpm / yarn
npm install @eanvi/sdk
# or
pnpm add @eanvi/sdk
# or
yarn add @eanvi/sdk
Import from @eanvi/sdk in your application code.
Environment
Create an API key in Settings → API keys, then set:
export EANVI_API_KEY=eanvi_sk_...
Never commit this value. In CI, store it as a secret. The SDK uses your hosted Eanvi workspace by default — you do not need to set an API URL.
TypeScript
The package ships type declarations (dist/index.d.ts). Use TypeScript 5+ for best results.