1.1.3 • Published 3 years ago

@system-dynamics/xmutil v1.1.3

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

convert Vensim mdl files to XMILE

This is Bob Eberlein's xmutil project compiled to WebAssembly and wrapped in the simplest possible TypeScript wrapper (and also usable from plain JavaScript).

It is usable both the browser -- it should be easily adaptable to node as well (patches welcome!).

Usage

import { convertMdlToXmile } from '@system-dynamics/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

@system-dynamics/xmutil is offered under the MIT license for consistency with the C++ xmutil.

1.1.3

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago