xmutil
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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).

Readme

Keywords

none

Package Sidebar

Install

npm i xmutil

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

1.05 MB

Total Files

29

Last publish

Collaborators

  • bpowers