Generate an HTML overview of tables permissions from hasura metadata.
Drop the result of from Hasura console Export metadata
into the demo : https://socialgouv.github.io/hasura-permissions-viewer
Or use as npm module :
const toHtml = require("@socialgouv/hasura-permissions-viewer");
const metadata = require("./metadata.json");
// to get the formatted HTML tables
console.log(toHtml(metadata));