{"_id":"@anhquoc96/fastxml-financial","name":"@anhquoc96/fastxml-financial","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@anhquoc96/fastxml-financial","version":"0.1.2","license":"MIT","description":"Financial and XBRL profile foundations for fastxml.","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"types":"./dist/index.d.ts","main":"./dist/index.js","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"dependencies":{"@anhquoc96/fastxml":"^0.1.2","@anhquoc96/fastxml-schema":"^0.1.2"},"engines":{"node":">=18"},"gitHead":"321353c78b100ee364ac6ed20bf93dfd62f10664","_id":"@anhquoc96/fastxml-financial@0.1.2","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-Jkm2ZxTgem9XLYwluYEjpsaeY/nBjxnH0ftIZQSqaUXxga/OFyYou3/JiOsGvFAKdau8r+7gY7LPrxOdP+pH9Q==","shasum":"d7a9f273e27efc6d4d7ee404697f7a09fb6387a3","tarball":"https://registry.npmjs.org/@anhquoc96/fastxml-financial/-/fastxml-financial-0.1.2.tgz","fileCount":27,"unpackedSize":15517,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD7PoX96moWg8s5VKjfEhkGbSc90VrkprfL4jbmbWMkBQIgFgpDj8+gp8w/n0d3w4i/Er2ooYIpd5qM3rYVUVlICSo="}]},"_npmUser":{"name":"anhquoc96","email":"aquoc.hue@outlook.com"},"directories":{},"maintainers":[{"name":"anhquoc96","email":"aquoc.hue@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fastxml-financial_0.1.2_1786959248869_0.6972022452136357"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-17T09:34:07.731Z","0.1.2":"2026-08-17T09:34:09.028Z","modified":"2026-08-17T09:34:09.751Z"},"maintainers":[{"name":"anhquoc96","email":"aquoc.hue@outlook.com"}],"description":"Financial and XBRL profile foundations for fastxml.","license":"MIT","readme":"# @anhquoc96/fastxml-financial\n\nFinancial XML profile helpers for Node.js and Deno, including XBRL instance\nsupport.\n\n## Installation\n\n```bash\nnpm install @anhquoc96/fastxml-financial @anhquoc96/fastxml-schema\n```\n\n## Read XBRL facts\n\n```ts\nimport { parseFinancial } from \"@anhquoc96/fastxml-financial\";\n\nconst instance = parseFinancial(xbrlXml);\n\nfor (const fact of instance.facts) {\n  console.log(fact.conceptLocalName, fact.value, fact.contextRef);\n}\n```\n\nBind an application-provided schema with `createXbrlInstanceProfile(schema)`.\nFor streamed input, use `parseFinancialStream()`.\n\n## Scope\n\n- XBRL instance namespace and root profile.\n- Basic fact extraction with concept namespace, context reference, unit\n  reference, decimals, and value.\n- Optional schema validation.\n\nTaxonomy compilation, linkbases, dimensions, formulas, Inline XBRL, tuple\nprocessing, calculation consistency, and filing-specific rules are not bundled.\nUse the exact XBRL taxonomy and reporting specification required by the target\nregulator or exchange.\n\n## Development\n\n```bash\nnpm run build --workspace @anhquoc96/fastxml-financial\nnpm run typecheck --workspace @anhquoc96/fastxml-financial\n```\n\n## License\n\nMIT License. See the package `LICENSE` file.\n","readmeFilename":"README.md","_rev":"1-bccf69cf9d00594651a7e95546f10e22"}