Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

langfuse-core

langfuse1.6mMIT3.38.5TypeScript support: included

null

readme

GitHub Banner

langfuse-js

MIT License CI test status GitHub Repo stars Discord YC W23

[!IMPORTANT] This SDK is deprecated. The Langfuse TypeScript SDK was completely rewritten and released as v4 in August 2025. Please refer to the TypeScript SDK documentation for migration instructions.

Modular mono repo for the Langfuse JS/TS client libraries.

Packages

Package NPM Environments
langfuse npm package Node >= 18, Web, Edge
langfuse-node npm package Node < 18
langfuse-langchain npm package Node >= 20, Web, Edge
langfuse-vercel (beta) npm package Node >= 20, Web, Edge

Documentation

License

MIT

Credits

Thanks to the PostHog team for the awesome work on posthog-js-lite. This project is based on it as it was the best starting point to build a modular SDK repo to support various environments.