ants-platform
v1.0.12
Published
Ants Platform JavaScript / TypeScript SDK
Readme
Ants Platform JS/TS SDK
Modular mono repo for the Ants Platform JS/TS client libraries.
Packages
| Package | NPM | Description | Environments |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------ |
| @antsplatform/client | | Ants Platform API client for universal JavaScript environments | Universal JS |
| @antsplatform/tracing |
| Ants Platform instrumentation methods based on OpenTelemetry | Node.js 20+ |
| @antsplatform/otel |
| Ants Platform OpenTelemetry export helpers | Node.js 20+ |
| @antsplatform/openai |
| Ants Platform integration for OpenAI SDK | Universal JS |
| @antsplatform/langchain |
| Ants Platform integration for LangChain | Universal JS |
Installation
npm install antsplatform
# or
yarn add antsplatform
# or
pnpm add antsplatformQuick Start
import { AntsPlatformClient } from "antsplatform";
const client = new AntsPlatformClient({
publicKey: "your-public-key",
secretKey: "your-secret-key",
baseUrl: "https://api.ants-platform.com", // optional
});Documentation
Development
This is a monorepo managed with pnpm. See CONTRIBUTING.md for detailed development instructions.
Quick start:
pnpm install # Install dependencies
pnpm build # Build all packages
pnpm test # Run tests
pnpm ci # Run full CI suite