This is the main JS/TS client for Langfuse.
Supported
- Node.js >=18
- Web
- Edge: Vercel, Cloudflare Workers, etc.
Using Node.js <18? Use langfuse-node
instead as it does not use fetch
and other Web APIs
npm i langfuse
# or
yarn add langfuse
# or
pnpm i langfuse