war3-model
can be used either as common-js module or as es-module:
import { parseMDL } from 'war3-model';
console.log(parseMDL('...'));
This should be bundled or requires Node.js >= 13
const { parseMDL } = require('war3-model');
console.log(parseMDL('...'));