Skip to main content

Node.js SDK

Node.js/TypeScript SDK for API integration

Overview

Node.js/TypeScript SDK for AssetHandler.

NPM Packages

EnvironmentPackage NameVisibility
Alpha@burdenoff/alpha-assethandler-sdk or @burdenoff/alpha-assethandler-sdk-nodePrivate
Stable@burdenoff/assethandler-sdk or @burdenoff/assethandler-sdk-nodePublic

Installation

Public (Stable)

npm install @burdenoff/assethandler-sdk

Private (Alpha)

npm login
npm install @burdenoff/alpha-assethandler-sdk

Repository

Usage

import { AssetHandlerClient } from '@burdenoff/assethandler-sdk';

const client = new AssetHandlerClient({
apiKey: process.env.ASSETHANDLER_API_KEY
});

Features

  • Fully typed TypeScript API
  • GraphQL client
  • Authentication helpers
  • Error handling

See the NPM Package Management guide for more details.