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

0.2.1 • Public • Published

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

/modl-parser/

    Package Sidebar

    Install

    npm i modl-parser

    Weekly Downloads

    2

    Version

    0.2.1

    License

    Apache-2.0

    Unpacked Size

    46.3 kB

    Total Files

    21

    Last publish

    Collaborators

    • frednum
    • twalmsley
    • elliottinvent