@janhellevik/pg-tables-to-jsonschema (npm): A command-line utility and module to turn postgres tables into JSON Schemas
Keywords: json-schema|postgresql|converter|command-line