BlueHive TypeScript API Library
Our primary TypeScript/JavaScript SDK for building applications with BlueHive Health. Full type safety, tree-shakable, and compatible with Node.js, Deno, and Bun.
Installation
Terminal
npm install @bluehive/sdkPackage:
@bluehive/sdkView on npm →Features
- Full TypeScript type definitions
- Tree-shakable ESM exports
- Automatic request retries
- Pagination helpers
- Streaming support
- Works with Node.js, Deno, and Bun
Quick Example
TypeScript / JavaScript
import BlueHive from '@bluehive/sdk';
const client = new BlueHive({
apiKey: process.env.BLUEHIVE_API_KEY,
});
// Search for healthcare providers
const providers = await client.providers.lookup({
zipCode: '46802',
radius: 25,
});
console.log(providers);