1.0.1 • Published 3 years ago

xmutil v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

xmutil.js - convert Vensim mdl files to XMILE

This is Bob Eberlein's xmutil project compiled to Web Assembly and wrapped in the simplest possible TypeScript wrapper.

Usage

import { convertMdlToXmile } from 'xmutil';

const args = process.argv.slice(2);
const mdlFile = fs.readFileSync(args[0], 'utf-8');

let xmile = await convertMdlToXmile(mdlFile, false);
console.log(xmile);

License

xmutil.js is offered under the MIT license (as is Bob's original xmutil).