A tool that extracts information from mongoose schemas and turns them into a ERD diagram. This version is updated to work with ES6
npm install https://github.com/balcorta/mongoose-erd-generator -g
Usage: mongoose-erd-generator [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]
-tc, --titlecolor <titlecolor>
-bc, --backgroundcolor <backgroundcolor>
-h, --help
npm install https://github.com/balcorta/mongoose-erd-generator -g
mongoose-erd-generator -p ./path_to_models_folder/ -f svg -o ./erd.svg
mongoose-erd-generator -p .\path_to_models_folder\ -f svg -o .\erd.svg