Installation
Install @noryen/sdk
The SDK is published on npm for TypeScript and JavaScript runtimes. Choose a guide that matches where your LLM calls execute.
Prerequisites
- A Noryen project and secret API key from the dashboard
- Configured init() with that key before tracking
Next.js
App Router route handlers, server actions, and env vars.
React Native
Expo / RN client init, setContext, and manual track().
Node.js
Express-style servers and long-running processes.
Serverless & edge
Lambda, Cloud Functions, Vercel—flush before exit.
OpenRouter
OpenAI SDK with OpenRouter base URL and wrap().