@maxal_studio/kratosjs-plugin-csv-export
v2.0.0
Published
Adds CSV export to every table in a KratosJs panel
Maintainers
Readme
@maxal_studio/kratosjs-plugin-csv-export
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.
Install
npm install @maxal_studio/kratosjs-plugin-csv-exportRegister
Server (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).
