little-mermaid-2-the-sql
v0.0.3
Published
* a command line tool for generating create sql from mermaid erDiagram
Downloads
4
Readme
little-mermaid-2-the-sql
- a command line tool for generating create sql from mermaid erDiagram
Getting Started
npm install -g @irl/little-mermaid-2-the-sql
npm run littleMermaid2SQL -- -d dbType --src markdownFilePath
Generating Mermaid erDiagram
- see samples for more information
Development
- git clone repo
- run
git submodule update --init --recursive --progress
to clone submodule dependencies
- run
- run
npm install
inside directory. - Examples:
- sqlite
npm run littleMermaid2SQL -- -d sqlite --src samples/chinook-database-2.0.1.md
- postgres
npm run littleMermaid2SQL -- -d postgres --src samples/Adventureworks_pg.md
- mysql
npm run littleMermaid2SQL -- -d mysql --src samples/Adventureworks_mysql.md
- sqlite