2.0.4 • Published 2 years ago

schema-to-erd v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ESLint Node.js CI Node.js Package

npm version NPM downloads

schema-to-erd

Generate ERD UML file from Schema DDL file

Installation

$ npm i schema-to-erd

Usage

import { schemaToErd } from 'schema-to-erd';
// or:
const { schemaToErd } = require('schema-to-erd');

schemaToErd('./schema_samples/sakila-schema.sql');
$ schema2erd -s ./schema_samples/sakila-schema.sql

Sample Schema files

  1. Sakila Sample Database
  2. Employees Sample Database - https://github.com/datacharmer/test_db
  3. MySQL Sample Database - https://www.mysqltutorial.org/wp-content/uploads/2018/03/mysqlsampledatabase.zip
  4. https://github.com/ronaldbradford/schema

sakila-schema.puml

Source Codes

Clone

$ git clone https://github.com/youngkiu/schema-to-erd.git
$ git submodule update --init --recursive

Contribute

If an error occurs during use, please open a new issue with the schema.sql file.

Reference for package

2.0.3

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.12

2 years ago

1.2.10

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.2

2 years ago

1.1.6

2 years ago

1.1.4

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago