0.0.5 • Published 4 years ago

mongoose-erd-generator v0.0.5

Weekly downloads
180
License
ISC
Repository
-
Last release
4 years ago

Mongoose-erd-generator

A tool that extracts information from mongoose schemas and turns them into a ERD diagram.

Build Status bitHound Dependencies bitHound Overall Score issues stars license

ERD Diagram generated from this tool

Installation

npm install mongoose-erd-generator -g

Running the script

Usage: mongoose-erd-generator options

Options:
-V, --version                                                 output the version number
-p, --path <path>                                             set models path wanted to generate an ERD from.
-o, --output <path>                                           set output path
-i, --ignore-index                                            ignore any files called index.js
-f, --format [svg,dot,xdot,plain,plan-ext,ps,ps2,json,json0]  
-c, --color <color>                                           
-h, --help                                 

example