modl-parser
This package parses MODL strings to an intermediate structure suitable for the MODL Interpreter and is unlikely to be of much use on its own.
A simple TypeScript usage example follows.
import { parseModl } from './MODLParser';
const result = parseModl('x=y');
console.log(JSON.stringify(result));
Or in JavaScript (e.g. using RunKit):
const modlparser = require("modl-parser")
const result = modlparser.parser('x=y');
console.log(JSON.stringify(result));