Adds an Export CSV button to every table in a KratosJs admin panel, so any resource list can be downloaded as a CSV file. Works on both MongoDB and SQL.
npm install @maxal_studio/kratosjs-plugin-csv-exportServer (src/index.ts):
import { CsvExportPlugin } from "@maxal_studio/kratosjs-plugin-csv-export";
Panel.make("admin")
// ...
.plugins([new CsvExportPlugin()]);The export button appears on every resource table automatically. This is a server-only plugin (no client entry).