Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 423 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 423 Bytes

camt

Parse camt 053 files

Usage

const fs = require('fs');
const util = require('util');
const CamtParser = require('camt');


async function main() {
    const parser = new CamtParser();
    await parser.init();

    const xml = await util.promisify(fs.readFile)('camt.xml', 'utf-8');

    const result = await parser.parseString(xml);
    console.log(util.inspect(result, false, null));
}

main();