Install the package
Dependencies
Sepa JS XML includes the following dependencies:- xml-js: Converts JavaScript objects to XML format
- ibantools: Validates IBAN and BIC codes
TypeScript setup
Sepa JS XML is written in TypeScript and includes full type definitions. If you’re using TypeScript, you don’t need to install any additional type packages.Type definitions
The library exports all the types you need:TypeScript configuration
Make sure yourtsconfig.json includes ES module support:
tsconfig.json
The package uses ES modules (
"type": "module" in package.json). If you’re using CommonJS, you may need to adjust your configuration or use dynamic imports.Verify installation
You can verify the installation by importing the library:Next steps
Quickstart
Learn how to generate your first SEPA XML file