0.2.1 • Published 7 months ago

@paneron/libmmel v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

= libmmel

ifdef::env-github[]

image:https://img.shields.io/github/v/release/paneron/libmmel?display_name=tag&include_prereleases&sort=semver[ GitHub release (latest SemVer including pre-releases), link="https://www.npmjs.com/package/@paneron/libmmel"] image:https://github.com/paneron/libmmel/actions/workflows/build-and-test.yml/badge.svg[ alt="Build / Test", link="https://github.com/paneron/libmmel/actions/workflows/build-and-test.yml"] image:https://github.com/paneron/libmmel/actions/workflows/lint.yml/badge.svg[ alt="Lint", link="https://github.com/paneron/libmmel/actions/workflows/lint.yml"] image:https://github.com/paneron/libmmel/actions/workflows/audit.yml/badge.svg[ "Audit Status", link="https://github.com/paneron/libmmel/actions/workflows/audit.yml"]

endif::[]

== Introduction

This library implements serialization and deserialization of MMEL models, and provides exported interfaces for relevant data types.

NOTE: This model does not contain runtime information. Any such runtime information should be implemented in a separate model.

== Installation

Run:

npm install @paneron/libmmel

== Usage Examples

import { textToMMEL, MMELToText } from '@paneron/libmmel';
import type { MMELModel } from '@paneron/libmmel';


const text = '... insert MMEL text here ...';
const mmel: MMELModel = textToMMEL(text);
console.log(MMELToText(mmel));

== Folder Structure

  • interface/
    • Contains the data structures of different elements in the model
  • handler/
    • Contains the codes for parsing MMEL structure to MMEL model
  • util/
    • Provides other utility functions (Check the comments inside)

== Roadmap

0.2.1

7 months ago

0.2.0

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.1

9 months ago

0.0.1-dev.6

9 months ago

0.0.1-dev.5

9 months ago

0.0.1-dev.4

9 months ago

0.0.1-dev.3

9 months ago

0.0.1-dev.2

9 months ago

0.0.1-dev.1

9 months ago

0.0.1-dev.0

9 months ago

0.0.1-dev1

10 months ago

0.0.0

10 months ago