langfuse
Version:
33 lines (21 loc) • 1.35 kB
Markdown

# Langfuse JS/TS
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/langfuse) [](https://github.com/langfuse/langfuse) [](https://discord.gg/7NXusRtqYU) [](https://www.ycombinator.com/companies/langfuse)
This is the main JS/TS client for Langfuse.
## Documentation
- Docs: https://langfuse.com/docs/sdk/typescript
- Reference: https://js.reference.langfuse.com/modules/langfuse.html
## Environments
**Supported**
- Node.js >=18
- Web
- Edge: Vercel, Cloudflare Workers, etc.
**Using Node.js <18?** Use [`langfuse-node`](https://www.npmjs.com/package/langfuse-node) instead as it does not use `fetch` and other Web APIs
## Installation
```bash
npm i langfuse
# or
yarn add langfuse
# or
pnpm i langfuse
```