Generates a JSON hash (dictionary) object of mysql table schemas, indexed by table name, to be used by @aponica/mysqlgoose-js to create models.


npx @aponica/mysqlgoose-schema-js zConfigFile [ zOutFile ]

zConfigFile must be a JSON file containing the database connection data. It must contain an object with members as expected by mysqljs/mysql:


If zOutFile is specified, the output is saved to a file with this name, without whitespace. If the file exists, it is overwritten. If not specified, output is to stdout w/two-space indentation.

Please Donate!

Help keep a roof over our heads and food on our plates! If you find aponica® open source software useful, please click here to make a one-time or recurring donation via PayPal, credit or debit card. Thank you kindly!


Your interest is appreciated! Please read the main project documentation at @aponica/mysqlgoose-js.


Copyright 2019-2021 Opplaud LLC and other contributors.


MIT License.


OPPLAUD and aponica are registered trademarks of Opplaud LLC.

Related Links

Official links for this project:

Related projects: