Get the latest tech news
Psql-describe: \d ported to JavaScript
psql's \d (describe) family of commands ported to JavaScript - neondatabase/psql-describe
echoHidden(boolean) has the same effect as the-E argument to psql: if true, all SQL queries are output to outputFn, in addition to the final results. The outputs of describe(), as passed to the outputFn argument, are a mix of plain strings and JS objects representing tables. When an object item is passed in, a formatted plain-text table is returned, identical to those produced by the psql CLI.
Or read this on Hacker News