Socket
Socket
Sign inDemoInstall

modl-parser

Package Overview
Dependencies
0
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    modl-parser

A MODL parser in TypeScript


Version published
Weekly downloads
15
Maintainers
2
Install size
45.2 kB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 29 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc