{"_id":"@1c-odata/metadata","_rev":"7-7ed99434ea850e15c450ce03b46044f2","name":"@1c-odata/metadata","dist-tags":{"latest":"0.6.0"},"versions":{"0.2.0":{"name":"@1c-odata/metadata","version":"0.2.0","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","_id":"@1c-odata/metadata@0.2.0","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"dist":{"shasum":"d0438a7d325856ca7eec945cd89427c3afc41dea","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.2.0.tgz","fileCount":7,"integrity":"sha512-d2E1ploeDhyk/agagUDnYWDBwz3Niv+0QX+ei9ITYURwNb+oLjdvjW0Sz1Gny1W1VnN/NTPFcCDlOl1Lr5Wdvg==","signatures":[{"sig":"MEUCIENETpi9URSGHvlhKF4Hyx346lyrWHVfq5515c1NMOCAAiEAx6+5AoMuELJfrLnio5UKIawa6Bu/TcGQc3pSvD/9Fco=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96132},"type":"module","_from":"file:1c-odata-metadata-0.2.0.tgz","engines":{"node":">=22.21.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsdown","test:e2e":"echo no e2e in metadata && exit 0","test:unit":"vitest run --exclude \"test/integration/**\"","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","test:watch":"vitest","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\""},"_npmUser":{"name":"hacker-cb","email":"pavel@sokolov.me"},"_resolved":"/private/var/folders/8s/tyq_h6ss1q37yh8dtypy954c0000gn/T/9307f34a96aae07899fee7ddeb33abc4/1c-odata-metadata-0.2.0.tgz","_integrity":"sha512-d2E1ploeDhyk/agagUDnYWDBwz3Niv+0QX+ei9ITYURwNb+oLjdvjW0Sz1Gny1W1VnN/NTPFcCDlOl1Lr5Wdvg==","deprecated":"Superseded by 0.4.1 — the first fully consistent, installable release of the @1c-odata packages (earlier ones shipped uninstallable workspace:* deps). Please upgrade to >=0.4.1.","repository":{"url":"git+https://github.com/hacker-cb/1c-odata.git","type":"git","directory":"packages/metadata"},"_npmVersion":"11.6.2","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"fast-xml-parser":"^5.7.3","@1c-odata/client":"0.2.0"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","undici":"^6.25.0"},"_npmOperationalInternal":{"tmp":"tmp/metadata_0.2.0_1781280531126_0.5088381562686763","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@1c-odata/metadata","version":"0.3.0","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","_id":"@1c-odata/metadata@0.3.0","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"dist":{"shasum":"a02665801d629fabb0a46b12dce4bbedb66d0eb7","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.3.0.tgz","fileCount":7,"integrity":"sha512-djQ6STT2hZOwcqEson0OEXFrD0+rEmpJFe2ju9jFIWE8MTHRmL1NDvM91YeoQUPGkyrRZryDyxu1oNY8Q5Zw0Q==","signatures":[{"sig":"MEYCIQDMZ4W6jiEh9exnsHdA8zvaIsbDHDyTp8kgQAy9pxQImgIhALqSrw35t+/f6+dHg45PL7QbZejcGapxUTLmqC5vISfe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1c-odata%2fmetadata@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96167},"type":"module","engines":{"node":">=22.21.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"a631ac38eb7269c044a13758e861cd1386f50f89","scripts":{"test":"vitest run","build":"tsdown","prepare":"pnpm build","test:e2e":"echo no e2e in metadata && exit 0","test:unit":"vitest run --exclude \"test/integration/**\"","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","test:watch":"vitest","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c2e45221-846a-4c4a-8253-1ebcf99300d0"}},"deprecated":"Superseded by 0.4.1 — the first fully consistent, installable release of the @1c-odata packages (earlier ones shipped uninstallable workspace:* deps). Please upgrade to >=0.4.1.","repository":{"url":"git+https://github.com/hacker-cb/1c-odata.git","type":"git","directory":"packages/metadata"},"_npmVersion":"11.17.0","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"fast-xml-parser":"^5.8.0","@1c-odata/client":"workspace:*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","undici":"^6.25.0"},"_npmOperationalInternal":{"tmp":"tmp/metadata_0.3.0_1781300694287_0.9315754869863748","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@1c-odata/metadata","version":"0.4.0","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","_id":"@1c-odata/metadata@0.4.0","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"dist":{"shasum":"6435df52f3f37bdaf111bd132fe4977c0b4793fa","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.4.0.tgz","fileCount":7,"integrity":"sha512-Z7oEj0bxM80xJeNn9ANGQL/eWq/Fsx7hN9fCf+LYLCQAcgCOXc0xU8CT9kdQQav1VqBIdUi99/y9NjuwVT/kWg==","signatures":[{"sig":"MEUCIQDoj5pVv4RODy3WCzPgZDWai9il2qtAgGckl/r/dQ5N7wIgfA065jnld2rdkaGJl3YbIo+NbqNicKdqPG13PbPAeYs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1c-odata%2fmetadata@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103817},"type":"module","engines":{"node":">=22.21.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"418664d4218aff481a62ae16f2954acb6584e42a","scripts":{"test":"vitest run","build":"tsdown","prepare":"pnpm build","test:e2e":"echo no e2e in metadata && exit 0","test:unit":"vitest run --exclude \"test/integration/**\"","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","test:watch":"vitest","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm","test:coverage":"vitest run --exclude \"test/integration/**\" --coverage","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c2e45221-846a-4c4a-8253-1ebcf99300d0"}},"deprecated":"Superseded by 0.4.1 — the first fully consistent, installable release of the @1c-odata packages (earlier ones shipped uninstallable workspace:* deps). Please upgrade to >=0.4.1.","repository":{"url":"git+https://github.com/hacker-cb/1c-odata.git","type":"git","directory":"packages/metadata"},"_npmVersion":"11.17.0","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"fast-xml-parser":"^5.8.0","@1c-odata/client":"workspace:*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","undici":"^6.25.0"},"_npmOperationalInternal":{"tmp":"tmp/metadata_0.4.0_1781596198045_0.8589709742306679","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@1c-odata/metadata","version":"0.4.1","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","_id":"@1c-odata/metadata@0.4.1","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"dist":{"shasum":"e13c5533ab6d1d5f2d82a0038f2bdb9c4bbaa703","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.4.1.tgz","fileCount":7,"integrity":"sha512-PyMaPGr4xa/kuqYYkcVttaGI/QD51KBbl8+MCErA8BT63SOShigePrFRm3228mhPIehXo/p827afAAlvlX6pYg==","signatures":[{"sig":"MEUCIAJcWM3GZhp/WDIrBhr7yTlG37HJx9lYAEvEj1W+52dPAiEAkM3K13fCWN6cyR/ThZDQ9yMha0HjdoVmYwMziDpikic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1c-odata%2fmetadata@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103781},"type":"module","_from":"file:/home/runner/work/_temp/1c-odata-metadata-0.4.1.tgz","engines":{"node":">=22.21.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsdown","test:e2e":"echo no e2e in metadata && exit 0","test:unit":"vitest run --exclude \"test/integration/**\"","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","test:watch":"vitest","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm","test:coverage":"vitest run --exclude \"test/integration/**\" --coverage","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c2e45221-846a-4c4a-8253-1ebcf99300d0"}},"_resolved":"/home/runner/work/_temp/1c-odata-metadata-0.4.1.tgz","_integrity":"sha512-PyMaPGr4xa/kuqYYkcVttaGI/QD51KBbl8+MCErA8BT63SOShigePrFRm3228mhPIehXo/p827afAAlvlX6pYg==","repository":{"url":"git+https://github.com/hacker-cb/1c-odata.git","type":"git","directory":"packages/metadata"},"_npmVersion":"11.17.0","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"fast-xml-parser":"^5.8.0","@1c-odata/client":"0.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.3","undici":"^6.25.0"},"_npmOperationalInternal":{"tmp":"tmp/metadata_0.4.1_1781600068687_0.9464131680746539","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@1c-odata/metadata","version":"0.5.0","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","_id":"@1c-odata/metadata@0.5.0","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"dist":{"shasum":"af8665d89948dcf60bbc5f4e0073f16c93060634","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.5.0.tgz","fileCount":7,"integrity":"sha512-Zqsrr7dvaeCQur8W4EWEVV655LFWmTsBsDp2vwDqvht/X7WhAzaT8fNVx8HfILWDeUjW31e9AdGIJIToI1vnTQ==","signatures":[{"sig":"MEYCIQD/Dm6PjZSvF1WHJ2JHJFbdcl9Sj56HalMyYdKz/VCWewIhALx8IVZck9XNcpMBTQDRDt6pp5AE89qlnai2B2hTHPXj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1c-odata%2fmetadata@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":104204},"type":"module","_from":"file:/home/runner/work/_temp/1c-odata-metadata-0.5.0.tgz","engines":{"node":">=22.21.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsdown","test:e2e":"echo no e2e in metadata && exit 0","test:unit":"vitest run --exclude \"test/integration/**\"","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","test:watch":"vitest","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm","test:coverage":"vitest run --exclude \"test/integration/**\" --coverage","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c2e45221-846a-4c4a-8253-1ebcf99300d0"}},"_resolved":"/home/runner/work/_temp/1c-odata-metadata-0.5.0.tgz","_integrity":"sha512-Zqsrr7dvaeCQur8W4EWEVV655LFWmTsBsDp2vwDqvht/X7WhAzaT8fNVx8HfILWDeUjW31e9AdGIJIToI1vnTQ==","repository":{"url":"git+https://github.com/hacker-cb/1c-odata.git","type":"git","directory":"packages/metadata"},"_npmVersion":"11.17.0","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"fast-xml-parser":"^5.9.3","@1c-odata/client":"0.5.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.14.6","undici":"^8.5.0"},"_npmOperationalInternal":{"tmp":"tmp/metadata_0.5.0_1781903352700_0.04606766729534728","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@1c-odata/metadata","version":"0.6.0","type":"module","description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"author":{"name":"Pavel Sokolov"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hacker-cb/1c-odata.git","directory":"packages/metadata"},"homepage":"https://github.com/hacker-cb/1c-odata#readme","bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"publishConfig":{"access":"public","provenance":true},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"sideEffects":false,"engines":{"node":">=22.21.0"},"dependencies":{"fast-xml-parser":"^5.9.3","@1c-odata/client":"0.6.0"},"devDependencies":{"msw":"^2.14.6","undici":"^8.5.0"},"scripts":{"build":"tsdown","test":"vitest run","test:watch":"vitest","test:unit":"vitest run --exclude \"test/integration/**\"","test:coverage":"vitest run --exclude \"test/integration/**\" --coverage","test:integration:offline":"vitest run test/integration --exclude \"test/integration/live/**\"","test:integration:live":"vitest run test/integration/live","test:integration:write":"echo 'no write integration in metadata' && exit 0","test:e2e":"echo no e2e in metadata && exit 0","typecheck":"tsc --noEmit && tsc --noEmit -p tsconfig.test.json","package:lint":"publint && attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm"},"_id":"@1c-odata/metadata@0.6.0","_integrity":"sha512-GMetO89obp+PbIUYbP4lCGs0RKO5+T8TsWt+wj88MlSLYw5VkazgK0EL5REEUmSNFyiBc1VaOTxpylvhxwevmg==","_resolved":"/home/runner/work/_temp/1c-odata-metadata-0.6.0.tgz","_from":"file:/home/runner/work/_temp/1c-odata-metadata-0.6.0.tgz","_nodeVersion":"22.23.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-GMetO89obp+PbIUYbP4lCGs0RKO5+T8TsWt+wj88MlSLYw5VkazgK0EL5REEUmSNFyiBc1VaOTxpylvhxwevmg==","shasum":"51892bae8af6e5b1eec115d17b3d3e7d48413879","tarball":"https://registry.npmjs.org/@1c-odata/metadata/-/metadata-0.6.0.tgz","fileCount":7,"unpackedSize":104204,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1c-odata%2fmetadata@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnYWysEOwpNZsSkdoDLRRObC7Mbh1mCE2OKtOQHht9TwIhAIgJRM0PRhPrKGsUK26kigtN7702cJquSx85+F/eYJCW"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c2e45221-846a-4c4a-8253-1ebcf99300d0"}},"directories":{},"maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/metadata_0.6.0_1782366632548_0.5141453040402972"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-12T16:08:50.976Z","modified":"2026-06-25T05:50:32.994Z","0.2.0":"2026-06-12T16:08:51.265Z","0.3.0":"2026-06-12T21:44:54.453Z","0.4.0":"2026-06-16T07:49:58.186Z","0.4.1":"2026-06-16T08:54:28.843Z","0.5.0":"2026-06-19T21:09:12.852Z","0.6.0":"2026-06-25T05:50:32.696Z"},"bugs":{"url":"https://github.com/hacker-cb/1c-odata/issues"},"author":{"name":"Pavel Sokolov"},"license":"MIT","homepage":"https://github.com/hacker-cb/1c-odata#readme","keywords":["1c","1c-enterprise","odata","odata-v3","edmx","metadata","typescript"],"repository":{"type":"git","url":"git+https://github.com/hacker-cb/1c-odata.git","directory":"packages/metadata"},"description":"1С:Enterprise OData V3 schema toolkit — EDMX ($metadata) parsing and runtime MetadataIndex building for @1c-odata/client.","maintainers":[{"name":"hacker-cb","email":"pavel@sokolov.me"}],"readme":"# @1c-odata/metadata\n\nRun [`@1c-odata/client`](https://www.npmjs.com/package/@1c-odata/client) against **any** 1С:Enterprise OData V3 base at runtime — full date / Int64 / ValueStorage handling and write validation, with no codegen and no generated files. It's also the EDMX schema toolkit that `@1c-odata/cli` uses under the hood, so the `$metadata` schema stays the single source of truth for both workflows.\n\n- `createDynamicClient` — download `$metadata`, build the index, and return a ready `ODataV3Client` in one call.\n- `fetchMetadataIndex` — just the runtime `MetadataIndex` (cache it as JSON; revive with `parseMetadataIndex` from `@1c-odata/client`).\n- `parseEdmx` / `buildMetadataIndex` — lower-level: EDMX XML → typed model → runtime `MetadataIndex` (the same structure codegen emits as `__metadata.json`).\n- Schema analysis helpers — entity kind classification (`Catalog_` / `Document_` / registers / …), tabular-part linking, ValueStorage detection, transitive closure.\n\nPure ESM. Node ≥ 22.21.0.\n\n> ⚠️ **v0.x — pre-release.** API is unstable; see [STABILITY.md](https://github.com/hacker-cb/1c-odata/blob/master/STABILITY.md).\n\n## Install\n\n```bash\npnpm add @1c-odata/client @1c-odata/metadata\n```\n\n## Quick start\n\n```ts\nimport { createDynamicClient } from '@1c-odata/metadata'\n\nconst client = await createDynamicClient(\n  {\n    baseUrl: 'http://1c.example.com/base/odata/standard.odata',\n    auth: { username: 'user', password: 'pass' },\n    serverTimezone: 'Europe/Moscow',\n  },\n  { validateOnWrite: true },\n)\nconst { value } = await client.query('Catalog_Валюты').top(5).get()\n```\n\nThe runtime `MetadataIndex` is plain JSON — cache it with `JSON.stringify` and revive with `parseMetadataIndex` from `@1c-odata/client`, or load a codegen-emitted `__metadata.json` from disk with `loadMetadataIndex` (also in `@1c-odata/client`). `fetchMetadataXml` exposes just the download step when you need the raw EDMX.\n\nSee the [repository README](https://github.com/hacker-cb/1c-odata#readme) for the full picture (typed codegen workflow, untyped mode, limitations).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}