Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

erml

obadakhalili84MITdeprecated1.2.3TypeScript support: included

This package has been deprecated in favor off @erml/parser

Parser for representing conceptual data models using the Entity-Relationship (ER) modeling concepts

entity-relationship-diagram, parser, erml

readme

ERML - Entity-Relationship Markup Language

ERML is a super easy-to-write DSL that represents conceptual data models using the Entity-Relationship modeling concepts. What does that gibberish mean? read the docs

Installation and Usage

You can install the ERML parser from NPM or yarn via the commands

npm install erml # From NPM
yarn add erml # From yarn

After that all you have to do is to execute the parser function exported by the library

const ERMLParser = require("erml")
const ast = ERMLParser(`ENTITY Example_entity { SIMPLE "attribute_name" }`)