Skip to content

sami-sweng/camt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();