Installation
Install the Hyperdocs SDK using your preferred package manager.
bash
npm install @hyperdocs/sdk
# or
yarn add @hyperdocs/sdk
# or
pnpm add @hyperdocs/sdkRequirements
•Node.js 18 or higher
•A Hyperdocs account with API access
•An API key from your dashboard
Initialise the SDK
typescript
import { Hyperdocs } from '@hyperdocs/sdk'
const client = new Hyperdocs({
apiKey: process.env.HYPERDOCS_API_KEY,
projectId: 'proj_your_project_id',
})