Node.js SDK
Node.js/TypeScript SDK for API integration
Overview
Node.js/TypeScript SDK for HeadshotMarketing.
NPM Packages
| Environment | Package Name | Visibility |
|---|---|---|
| Alpha | @burdenoff/alpha-headshotmarketing-sdk or @burdenoff/alpha-headshotmarketing-sdk-node | Private |
| Stable | @burdenoff/headshotmarketing-sdk or @burdenoff/headshotmarketing-sdk-node | Public |
Installation
Public (Stable)
npm install @burdenoff/headshotmarketing-sdk
Private (Alpha)
npm login
npm install @burdenoff/alpha-headshotmarketing-sdk
Repository
- GitHub: headshotmarketing-sdk-node
Usage
import { HeadshotMarketingClient } from '@burdenoff/headshotmarketing-sdk';
const client = new HeadshotMarketingClient({
apiKey: process.env.HEADSHOTMARKETING_API_KEY
});
Features
- Fully typed TypeScript API
- GraphQL client
- Authentication helpers
- Error handling
See the NPM Package Management guide for more details.