@anhquoc96/fastxml-iso20022
v0.1.2
Published
ISO 20022 profile foundations for fastxml.
Readme
@anhquoc96/fastxml-iso20022
ISO 20022 message profile helpers for Node.js and Deno.
Installation
npm install @anhquoc96/fastxml-iso20022 @anhquoc96/fastxml-schemaBind a message version to a schema
import { createIso20022Profile, parseIso20022 } from "@anhquoc96/fastxml-iso20022";
import { parseXsd } from "@anhquoc96/fastxml-schema";
const schema = parseXsd(painSchemaText);
const profile = createIso20022Profile(
"pain.001.001.09",
"Document",
schema,
);
const document = parseIso20022(xmlText, profile);Use parseIso20022Stream() for async iterables and Web Streams.
Scope
- ISO 20022 message namespace construction.
- Explicit message family/version profiles.
- Optional application-provided XSD validation.
- Root namespace and document-name validation.
Message schemas, business transaction rules, market-practice guides, and version-specific semantic validation are not bundled. Consumers must select the required ISO 20022 release explicitly.
Development
npm run build --workspace @anhquoc96/fastxml-iso20022
npm run typecheck --workspace @anhquoc96/fastxml-iso20022License
MIT License. See the package LICENSE file.
