{"_id":"@mlflow/core","_rev":"4-9fd1e81e87a6836a1d91ea1f2fb7bfcf","name":"@mlflow/core","dist-tags":{"rc":"0.3.0-rc.0","latest":"0.4.0"},"versions":{"0.2.0":{"name":"@mlflow/core","version":"0.2.0","keywords":["mlflow","tracing","observability","opentelemetry","llm","javascript","typescript"],"author":{"url":"https://mlflow.org/","name":"MLflow"},"license":"Apache-2.0","_id":"@mlflow/core@0.2.0","maintainers":[{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"}],"homepage":"https://mlflow.org/","bugs":{"url":"https://github.com/mlflow/mlflow/issues"},"dist":{"shasum":"5dd0ec57c765f726eb900fab09d972ddc89733d8","tarball":"https://registry.npmjs.org/@mlflow/core/-/core-0.2.0.tgz","fileCount":62,"integrity":"sha512-CZ/J3HN8WZ836rvmlFsqa3uPk9YrrzXXex5Gjv602bSzVVzzXaXkViNm8BszMwIZt9Xew205u6G2cAaBRD3GkA==","signatures":[{"sig":"MEYCIQCClYYUsdaX5nliVq4J7NjUip8vYaHTu9rlYfTns0vE6AIhAMZgiJbMgppGHz9plSIoyjmHcRZLewdMBOaQ0heESi1w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221956},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"lint":"eslint . --ext .ts --max-warnings 0","test":"jest","build":"tsc","format":"prettier --write .","lint:fix":"eslint . --ext .ts --fix","format:check":"prettier --check ."},"_npmUser":{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"},"repository":{"url":"git+https://github.com/mlflow/mlflow.git","type":"git"},"_npmVersion":"11.3.0","description":"TypeScript implementation of MLflow Tracing SDK for LLM observability","directories":{},"_nodeVersion":"24.1.0","dependencies":{"ini":"^5.0.0","bignumber.js":"^9.0.0","@opentelemetry/api":"^1.9.0","fast-safe-stringify":"^2.1.1","@opentelemetry/sdk-node":"^0.205.0","@databricks/sdk-experimental":"0.15.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.10.3","tsx":"^4.7.0","jest":"^29.6.2","eslint":"^8.57.1","ts-jest":"^29.1.1","prettier":"^3.5.3","@types/ini":"^4.1.1","typescript":"^5.8.3","@types/jest":"^29.5.3","@types/node":"^20.4.5","whatwg-fetch":"^3.6.20","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.0_1772190887790_0.8455068868583877","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-rc.0":{"name":"@mlflow/core","version":"0.3.0-rc.0","keywords":["mlflow","tracing","observability","opentelemetry","llm","javascript","typescript"],"author":{"url":"https://mlflow.org/","name":"MLflow"},"license":"Apache-2.0","_id":"@mlflow/core@0.3.0-rc.0","maintainers":[{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"}],"homepage":"https://mlflow.org/","bugs":{"url":"https://github.com/mlflow/mlflow/issues"},"bin":{"mlflow-trace-daemon":"bundle/daemon.cjs"},"dist":{"shasum":"e1071c60785e50c5e311486acad16a36276aec39","tarball":"https://registry.npmjs.org/@mlflow/core/-/core-0.3.0-rc.0.tgz","fileCount":101,"integrity":"sha512-+zIW1KlLuNZt9bo1xunXuD9727VE8MVDGKoUNsqYuFk/RWrkuvY//FW6EmlwIKr4gI2PJ7hAIshUA0P4s4q64A==","signatures":[{"sig":"MEQCIHPUGZieIiawKUzWm/LkELlcmq4z7wxkMYZl1PMbmk1MAiA+3a99JHbSlIkJ7X+suOryV3zOFkRzMc2dH7CyV9sjrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4564693},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"698eba177215764c11369c6716c93607750c97c8","scripts":{"lint":"eslint . --ext .ts --max-warnings 0","test":"jest","build":"tsc && node esbuild.config.mjs","format":"prettier --write .","lint:fix":"eslint . --ext .ts --fix","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1277ffd5-9488-45a4-87f6-c61eb75c6235"}},"repository":{"url":"git+https://github.com/mlflow/mlflow.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript implementation of MLflow Tracing SDK for LLM observability","directories":{},"_nodeVersion":"22.22.3","dependencies":{"ini":"^5.0.0","bignumber.js":"^9.0.0","@opentelemetry/api":"^1.9.0","fast-safe-stringify":"^2.1.1","@opentelemetry/sdk-node":"^0.205.0","@databricks/sdk-experimental":"0.15.0","@opentelemetry/sdk-trace-base":"^2.1.0","@opentelemetry/exporter-trace-otlp-proto":"^0.205.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"^2.10.3","tsx":"^4.7.0","jest":"^29.6.2","eslint":"^8.57.1","esbuild":"^0.25.0","ts-jest":"^29.1.1","prettier":"^3.5.3","@types/ini":"^4.1.1","typescript":"^5.8.3","@types/jest":"^29.5.3","@types/node":"^20.4.5","whatwg-fetch":"^3.6.20","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.0-rc.0_1780544190950_0.7417420651914977","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@mlflow/core","version":"0.3.0","keywords":["mlflow","tracing","observability","opentelemetry","llm","javascript","typescript"],"author":{"url":"https://mlflow.org/","name":"MLflow"},"license":"Apache-2.0","_id":"@mlflow/core@0.3.0","maintainers":[{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"}],"homepage":"https://mlflow.org/","bugs":{"url":"https://github.com/mlflow/mlflow/issues"},"bin":{"mlflow-trace-daemon":"bundle/daemon.cjs"},"dist":{"shasum":"7618cdd8009acb350b41e6f5c9ca593beb33b05d","tarball":"https://registry.npmjs.org/@mlflow/core/-/core-0.3.0.tgz","fileCount":103,"integrity":"sha512-KfLwQv9wvgA9eo0H/S+1JRrfb1+kv1L0rWenSaxQS+RlCJ8hEg3uc/sai0SdNB4SOqkkJNBM5WMD02iI22walg==","signatures":[{"sig":"MEYCIQCoaPiaxP/GHIvAv2f1YpCxiAkzQMKrR/2w8nI1Kr4E9wIhAKsAFHycffQxEekm882vFz75klHgntzBf38H8yPVBoUj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4601658},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"9369186bc80eba725a1648c9a6b24dca666ac77a","scripts":{"lint":"eslint . --ext .ts --max-warnings 0","test":"jest","build":"tsc && node esbuild.config.mjs","format":"prettier --write .","lint:fix":"eslint . --ext .ts --fix","format:check":"prettier --check ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1277ffd5-9488-45a4-87f6-c61eb75c6235"}},"repository":{"url":"git+https://github.com/mlflow/mlflow.git","type":"git"},"_npmVersion":"11.5.1","description":"TypeScript implementation of MLflow Tracing SDK for LLM observability","directories":{},"_nodeVersion":"22.23.1","dependencies":{"ini":"^5.0.0","bignumber.js":"^9.0.0","@opentelemetry/api":"^1.9.0","fast-safe-stringify":"^2.1.1","@opentelemetry/sdk-node":"^0.205.0","@databricks/sdk-experimental":"0.15.0","@opentelemetry/sdk-trace-base":"^2.1.0","@opentelemetry/otlp-transformer":"^0.205.0","@opentelemetry/exporter-trace-otlp-proto":"^0.205.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.10.3","tsx":"^4.7.0","jest":"^29.6.2","eslint":"^8.57.1","esbuild":"^0.25.0","ts-jest":"^29.1.1","prettier":"^3.5.3","@types/ini":"^4.1.1","typescript":"^5.8.3","@types/jest":"^29.5.3","@types/node":"^20.4.5","whatwg-fetch":"^3.6.20","@typescript-eslint/parser":"^6.21.0","@typescript-eslint/eslint-plugin":"^6.21.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.0_1783408781852_0.9451185959822481","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@mlflow/core","version":"0.4.0","description":"TypeScript implementation of MLflow Tracing SDK for LLM observability","repository":{"type":"git","url":"git+https://github.com/mlflow/mlflow.git"},"homepage":"https://mlflow.org/","author":{"name":"MLflow","url":"https://mlflow.org/"},"bugs":{"url":"https://github.com/mlflow/mlflow/issues"},"license":"Apache-2.0","keywords":["mlflow","tracing","observability","opentelemetry","llm","javascript","typescript"],"main":"dist/index.js","types":"dist/index.d.ts","bin":{"mlflow-trace-daemon":"bundle/daemon.cjs"},"scripts":{"build":"tsc && node esbuild.config.mjs","test":"jest","lint":"eslint . --ext .ts --max-warnings 0","lint:fix":"eslint . --ext .ts --fix","format":"prettier --write .","format:check":"prettier --check ."},"dependencies":{"@databricks/sdk-experimental":"0.15.0","@opentelemetry/api":"^1.9.0","@opentelemetry/exporter-trace-otlp-proto":"^0.205.0","@opentelemetry/otlp-transformer":"^0.205.0","@opentelemetry/sdk-node":"^0.205.0","@opentelemetry/sdk-trace-base":"^2.1.0","fast-safe-stringify":"^2.1.1","bignumber.js":"^9.0.0","ini":"^5.0.0"},"optionalDependencies":{"@kubernetes/client-node":"^1.0.0"},"devDependencies":{"@kubernetes/client-node":"^1.0.0","@types/ini":"^4.1.1","@types/jest":"^29.5.3","@types/node":"^20.4.5","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","esbuild":"^0.25.0","eslint":"^8.57.1","jest":"^29.6.2","msw":"^2.10.3","prettier":"^3.5.3","ts-jest":"^29.1.1","tsx":"^4.7.0","typescript":"^5.8.3","whatwg-fetch":"^3.6.20"},"engines":{"node":">=18"},"_id":"@mlflow/core@0.4.0","gitHead":"50d4736d74453f4f58ca58a1b2748a1e3356a52c","_nodeVersion":"22.23.2","_npmVersion":"11.5.1","dist":{"integrity":"sha512-z80wUaXWRsw5xquvpBW2BRJgjA7M+dj67JqR08i+cH8DZK+DV5y8RpaJyFzxGZkAXsy5GO4W+ndeL8tB5nlQaw==","shasum":"b31c2232b3a6afe277df3eed994d5eed1ed67640","tarball":"https://registry.npmjs.org/@mlflow/core/-/core-0.4.0.tgz","fileCount":105,"unpackedSize":19928200,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHat/NAVYR2UiH2MurmW3wpq4L2RTAPlNCtoOz0pWKPpAiB8JV6pT9593UBX3yOvUM+6yVdmXvsQa0kykGaqwNnotg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1277ffd5-9488-45a4-87f6-c61eb75c6235"}},"directories":{},"maintainers":[{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.4.0_1787821101978_0.1727792061707809"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T11:14:47.686Z","modified":"2026-08-27T08:58:22.372Z","0.2.0":"2026-02-27T11:14:47.937Z","0.3.0-rc.0":"2026-06-04T03:36:31.108Z","0.3.0":"2026-07-07T07:19:42.015Z","0.4.0":"2026-08-27T08:58:22.215Z"},"bugs":{"url":"https://github.com/mlflow/mlflow/issues"},"author":{"name":"MLflow","url":"https://mlflow.org/"},"license":"Apache-2.0","homepage":"https://mlflow.org/","keywords":["mlflow","tracing","observability","opentelemetry","llm","javascript","typescript"],"repository":{"type":"git","url":"git+https://github.com/mlflow/mlflow.git"},"description":"TypeScript implementation of MLflow Tracing SDK for LLM observability","maintainers":[{"name":"yuki_watanabe","email":"yuki.watanabe@databricks.com"}],"readme":"# MLflow Typescript SDK - Core\n\nThis is the core package of the [MLflow Typescript SDK](https://github.com/mlflow/mlflow/tree/main/libs/typescript). It is a skinny package that includes the core tracing functionality and manual instrumentation.\n\n| Package            | NPM                                                                                                                           | Description                                                |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |\n| [@mlflow/core](./) | [![npm package](https://img.shields.io/npm/v/%40mlflow%2Fcore?style=flat-square)](https://www.npmjs.com/package/@mlflow/core) | The core tracing functionality and manual instrumentation. |\n\n## Installation\n\n```bash\nnpm install @mlflow/core\n```\n\n## Quickstart\n\nStart MLflow Tracking Server. If you have a local Python environment, you can run the following command:\n\n```bash\npip install mlflow\nmlflow server --backend-store-uri sqlite:///mlruns.db --port 5000\n```\n\nIf you don't have Python environment locally, MLflow also supports Docker deployment or managed services. See [Self-Hosting Guide](https://mlflow.org/docs/latest/self-hosting/index.html) for getting started.\n\nInstantiate MLflow SDK in your application:\n\n```typescript\nimport * as mlflow from '@mlflow/core';\n\nmlflow.init({\n  trackingUri: 'http://localhost:5000',\n  experimentId: '<experiment-id>',\n});\n```\n\nCreate a trace:\n\n```typescript\n// Wrap a function with mlflow.trace to generate a span when the function is called.\n// MLflow will automatically record the function name, arguments, return value,\n// latency, and exception information to the span.\nconst getWeather = mlflow.trace(\n  (city: string) => {\n    return `The weather in ${city} is sunny`;\n  },\n  // Pass options to set span name. See https://mlflow.org/docs/latest/genai/tracing/quickstart\n  // for the full list of options.\n  { name: 'get-weather' },\n);\ngetWeather('San Francisco');\n\n// Alternatively, start and end span manually\nconst span = mlflow.startSpan({ name: 'my-span' });\nspan.end();\n```\n\n## Documentation 📘\n\nOfficial documentation for MLflow Typescript SDK can be found [here](https://mlflow.org/docs/latest/genai/tracing/quickstart).\n\n## License\n\nThis project is licensed under the [Apache License 2.0](https://github.com/mlflow/mlflow/blob/master/LICENSE.txt).\n","readmeFilename":"README.md"}