npm.io
0.0.3 • Published 2h ago

@stellartools/core

Licence
ISC
Version
0.0.3
Deps
4
Size
333 kB
Vulns
0
Weekly
0
Stars
9

@stellartools/core

Core TypeScript SDK for the Stellar Tools API. Provides typed client methods, resource helpers, and shared types used across all Stellar Tools packages and apps.

Installation

pnpm add @stellartools/core

Usage

import { StellarTools } from "@stellartools/core";

const client = new StellarTools({ apiKey: process.env.STELLAR_API_KEY });

const products = await client.products.list();
const checkout = await client.checkouts.create({ productId: "prod_..." });

Development

pnpm build        # tsup — outputs CJS + ESM + DTS
pnpm build:dev    # tsup without minification (used by apps/web during local dev)

Keywords