{"id":13588419,"url":"https://github.com/langfuse/langfuse-js","last_synced_at":"2026-05-29T20:00:48.585Z","repository":{"id":178577048,"uuid":"661446582","full_name":"langfuse/langfuse-js","owner":"langfuse","description":"🪢 Langfuse JS/TS SDKs - Instrument your LLM app and get detailed tracing/observability. Works with any LLM or framework","archived":false,"fork":false,"pushed_at":"2026-05-20T09:38:03.000Z","size":5937,"stargazers_count":140,"open_issues_count":19,"forks_count":86,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-20T13:20:22.701Z","etag":null,"topics":["javascript","langfuse","llmops","observability","sdk-js","typescript"],"latest_commit_sha":null,"homepage":"https://langfuse.com/docs/sdk/typescript","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langfuse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-07-02T21:43:44.000Z","updated_at":"2026-05-20T09:38:05.000Z","dependencies_parsed_at":"2024-02-02T11:30:55.516Z","dependency_job_id":"a6d89b6b-1f18-4c8c-baf3-211fbd37449b","html_url":"https://github.com/langfuse/langfuse-js","commit_stats":null,"previous_names":["langfuse/langfuse-js"],"tags_count":284,"template":false,"template_full_name":null,"purl":"pkg:github/langfuse/langfuse-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langfuse%2Flangfuse-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langfuse%2Flangfuse-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langfuse%2Flangfuse-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langfuse%2Flangfuse-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langfuse","download_url":"https://codeload.github.com/langfuse/langfuse-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langfuse%2Flangfuse-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33668186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","langfuse","llmops","observability","sdk-js","typescript"],"created_at":"2024-08-01T15:06:42.220Z","updated_at":"2026-05-29T20:00:48.579Z","avatar_url":"https://github.com/langfuse.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","AI \u0026 LLM"],"sub_categories":["LLM Apps \u0026 Interfaces"],"readme":"![GitHub Banner](https://github.com/langfuse/langfuse-js/assets/2834609/d1613347-445f-4e91-9e84-428fda9c3659)\n\n# langfuse-js\n\n[![MIT License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![CI test status](https://img.shields.io/github/actions/workflow/status/langfuse/langfuse-js/ci.yml?style=flat-square\u0026label=All%20tests)](https://github.com/langfuse/langfuse-js/actions/workflows/ci.yml?query=branch%3Amain)\n[![GitHub Repo stars](https://img.shields.io/github/stars/langfuse/langfuse?style=flat-square\u0026logo=GitHub\u0026label=langfuse%2Flangfuse)](https://github.com/langfuse/langfuse)\n[![Discord](https://img.shields.io/discord/1111061815649124414?style=flat-square\u0026logo=Discord\u0026logoColor=white\u0026label=Discord\u0026color=%23434EE4)](https://discord.gg/7NXusRtqYU)\n[![YC W23](https://img.shields.io/badge/Y%20Combinator-W23-orange?style=flat-square)](https://www.ycombinator.com/companies/langfuse)\n\nModular mono repo for the Langfuse JS/TS client libraries.\n\n## Packages\n\n\u003e [!IMPORTANT]\n\u003e The SDK was rewritten in v5 and released in March 2026. Refer to the [v5 migration guide](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v4-to-v5) for instructions on updating your code.\n\n| Package                                     | NPM                                                                                                               | Description                                               | Environments |\n| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ------------ |\n| [@langfuse/client](./packages/client)       | [![NPM](https://img.shields.io/npm/v/@langfuse/client.svg)](https://www.npmjs.com/package/@langfuse/client)       | Langfuse API client for universal JavaScript environments | Universal JS |\n| [@langfuse/tracing](./packages/tracing)     | [![NPM](https://img.shields.io/npm/v/@langfuse/tracing.svg)](https://www.npmjs.com/package/@langfuse/tracing)     | Langfuse instrumentation methods based on OpenTelemetry   | Node.js 20+  |\n| [@langfuse/otel](./packages/otel)           | [![NPM](https://img.shields.io/npm/v/@langfuse/otel.svg)](https://www.npmjs.com/package/@langfuse/otel)           | Langfuse OpenTelemetry export helpers                     | Node.js 20+  |\n| [@langfuse/openai](./packages/openai)       | [![NPM](https://img.shields.io/npm/v/@langfuse/openai.svg)](https://www.npmjs.com/package/@langfuse/openai)       | Langfuse integration for OpenAI SDK                       | Universal JS |\n| [@langfuse/langchain](./packages/langchain) | [![NPM](https://img.shields.io/npm/v/@langfuse/langchain.svg)](https://www.npmjs.com/package/@langfuse/langchain) | Langfuse integration for LangChain                        | Universal JS |\n\n## Documentation\n\n- [Docs](https://langfuse-docs-git-add-js-sdk-v4-docs-langfuse.vercel.app/docs/observability/sdk/typescript/overview)\n- [Reference](https://langfuse-js-git-main-langfuse.vercel.app/)\n\n## Development\n\nThis is a monorepo managed with pnpm. See [CONTRIBUTING.md](./CONTRIBUTING.md) for detailed development instructions.\n\nQuick start:\n\n```bash\npnpm install    # Install dependencies\npnpm build      # Build all packages\npnpm test       # Run tests\npnpm ci         # Run full CI suite\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangfuse%2Flangfuse-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangfuse%2Flangfuse-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangfuse%2Flangfuse-js/lists"}