SDK
Installation
Install @artemise/sdk and set up your environment.
The official SDK is TypeScript-first, dependency-free, and works on Node 18+ (or any runtime with fetch).
Install
During the design-partner phase the package is distributed from the platform repo (npm publish comes when the API stabilizes):
pnpm add @artemise/sdk # once published # today: pnpm add ./sdk (from a repo checkout) or a git/tarball reference
Configure
export ARTEMISE_API_KEY="ns_live_..."
import Artemise from '@artemise/sdk';
const client = new Artemise(); // reads ARTEMISE_API_KEY
// or explicitly:
const client2 = new Artemise({ apiKey: 'ns_live_...' });Point at a different environment with baseUrl:
const dev = new Artemise({ apiKey, baseUrl: 'http://localhost:3001' });