1.0.4 • Published 7 years ago
mysql-documentation v1.0.4
Creates a list of all tables and columns for a MySQL database with anchor links for foreign key relationships
Example Output
users
id
intusername
varcharemail_primary
varcharmember_id
intForeign Key To
created_date
datetimeupdated_date
datetime
members
id
intReferenced By
created_date
datetimeupdated_date
datetime
Installation
npm i mysql-documentationUsage
MYSQL_HOST=127.0.0.1 \
MYSQL_USER=root \
MYSQL_PASS=password \
MYSQL_DB=test \
OUT_PATH=.. \
OUT_NAME=test \ # will produce test.md and test.html
./node_modules/.bin/mysql-documentation