Modular mono repo for the Langfuse JS/TS client libraries.
[!IMPORTANT] The SDK was rewritten in v2 and released on December 18, 2023. Refer to the v2 migration guide for instructions on updating your code.
Package | NPM | Environments |
---|---|---|
langfuse | Node >= 18, Web, Edge | |
langfuse-node | Node < 18 | |
langfuse-langchain | Node >= 20, Web, Edge | |
langfuse-vercel (beta) | Node >= 20, Web, Edge |
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.