npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

strapi-plugin-csv-exporter

v5.4.2

Published

A highly configurable plugin to export your Strapi content as CSV files

Readme

Strapi Plugin CSV Exporter

A highly configurable Strapi plugin that allows you to export your content types as CSV files with drag-and-drop interface for column management.

Plugin Version Strapi Version License

✨ Features

  • Easy CSV Export: Export your Strapi collections to CSV format
  • Interactive Table Preview: View your data before export in the Admin Panel
  • Flexible Configuration: Configure which content types, collumns & relations are available for export
  • Drag & Drop Column Reordering: Reorder columns for both table display and CSV output in the Admin Panel
  • i18n Support: Export your content types based on your configured locales
  • Permission Management: Select which users can use the plugin with a specific permission
  • Custom Filtering: Apply optional filters as you would do with Strapi Document API
  • TypeScript Support: Write the configuration file in TypeScript for better type safety

📦 Installation

Minimum Strapi Version needed: v5

npm install strapi-plugin-csv-exporter

🚀 Quick Start

  1. Install the plugin

  2. Enable the plugin in your config/plugins.ts:

module.exports = {
  'csv-exporter': {
    enabled: true,
  },
};
  1. Create config/csv-exporter.ts in your Strapi project:
import type { CSVExporterPlugin } from "strapi-plugin-csv-exporter/dist/server/src";

module.exports = (): CSVExporterPlugin => ({
  // Content type specific configurations
  config: {
    // Configuration for articles content type
    'api::article.article': {
      // Label shown in the dropdown
      dropdownLabel: 'Published articles',

      // Columns to export
      columns: ['title', 'createdAt'],

      // Optional relations as column
      relation: {
        author: {
          column: ['name'],
        }
      },

      // Optional filters to apply to the query
      filter: {
        publishedAt: {
          $ne: null,
        },
      },

      // Custom columns to add to the table
      customColumns: {
        'customColumnName': { // This will be used as collumn title
          // item contains the element containing all columns and relations to build a custom column
          column: (item) => `custom string result with id: ${item.id}`
        }
      }

    },

  // Optional: Global date formatting for all fields that are a valid ISO Date
  dateFormat: 'dd/MM/yyyy HH:mm', // default
  // Optional: Set a *global* IANA time zone identifier or UTC offset (e.g. 'Europe/Berlin' or '+02:00'). Per default, the current timezone of the client will be used to format timestamps. If no timezone can be determined, default will be UTC+00:00)
  timeZone: '+00:00', // default
  // Optional: Fields to globally ignore in exports
  ignore: [], // default
};
  1. Build and restart your Strapi application

  2. Add Permission Enable your users to use the plugin in the permissions settings

🖥️ Usage

Accessing the Plugin

  1. Log into your Strapi admin panel
  2. Enable the plugin for your users in the permissions settings
  3. Navigate to CSV Exporter in your side bar panel
  4. The plugin interface will load with your configured content types in the dropdown

Using the Interface

1. Select Content Type

  • Use the dropdown to select which content type to export
  • Only configured content types will appear in the list
  • The table shows a preview of your data

2. Manage Columns

Reorder Columns:

  • Drag and drop column items to reorder them
  • The table and CSV export will use this new order

Delete Columns:

  • Click the ❌ button on any column to remove it
  • Deleted columns won't appear in the table or CSV export

3. Download CSV

  • Click the "Download" button to generate and download your CSV
  • Format: {content-type}-export-{dd_MM_yyyy_HH_mm}.csv

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.