1.2.4 • Published 10 months ago

@solarains/mysql2ts v1.2.4

Weekly downloads
-
License
CC-BY-1.0
Repository
github
Last release
10 months ago

Mysql 2 TS

Using this command line tool you can generate customized models / interfaces directly from a mysql schema.

Installation

Install this tool globally using npm:

sudo npm install @solarains/mysql2ts -g

Example Usage

To generate all typescript models from a mysql database, simply run this command:

mysql2ts -h 127.0.0.1 -u root -n Databsename -p 'pass' -r 3306 -o output -m advanced -c camelCase

Options

NameUsage
Program Version--version Or -V
Database Host Address--host Or -h
Database Name--dbname Or -n
Database User--dbuser Or -u
Database Pass--dbpass Or -p
Database Port--dbport Or -r
Output Directory--output Or -o
Mode--mode Or m
Naming Convention--namingConvention Or -c
1.2.0

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.2.4

10 months ago

1.2.3

10 months ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago