merd

0.0.4 • Public • Published

merd

Command-line interface for generating an entity relationship diagram when using mongoose models.

How to use

install

npm i -D merd

generate erd

merd [options]

Options

  Usage: merd [options]

  Options:

    -V, --version      output the version number
    -p, --path [path]  Path of mongoose models
    -t, --type [type]  ERD result type: png, text
    -e, --egg          Flag to support egg-mongoose
    -h, --help         output usage information

Example

merd -p example

What does it do

The package generates an er digram which support png and pdf.

Credits

MANY THANKS to the mongoose-erd for the beginning codes and idea to generate erd text.

I tried to fork the mongoose-erd to go on working. However, by default, forks are not shown in search results. In order to make it possible to be searched, I created a new repo with the history commits.

Package Sidebar

Install

npm i merd

Weekly Downloads

11

Version

0.0.4

License

ISC

Unpacked Size

8.77 kB

Total Files

10

Last publish

Collaborators

  • guoyinfeng