merd
v0.0.4
Published
Command-line interface for generating an entity relationship diagram when using mongoose models.
Downloads
26
Maintainers
Readme
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.