ts-arena
v0.1.1
Published
V3-first TypeScript SDK for the Are.na API with explicit legacy V2 gap methods.
Maintainers
Readme
What Is TS-ARENA?
TS-ARENA is a V3 SDK for the Are.na REST API.
All you need is:
- (Optional) an API token for authenticated endpoints (
ARENA_TOKEN) - this package installed in your project
It gives you two explicit surfaces:
arena.v3.*for current API workarena.legacyV2.*only for known V3 gaps
Because Are.na marks v3 as work in progress, endpoint behavior can change.
Getting Started
- Install the package:
npm install ts-arena- Create a client:
import Arena from "ts-arena";
const arena = new Arena({
token: process.env.ARENA_TOKEN
});- Make a request:
const channel = await arena.v3.channels.get({ id: "arena-influences" });- Working with an Agent? Run:
npx ts-arena init-agentsTo generate an agent guide in your project root, the direct Claude/Cursor or any agent to follow the guide.
