Strapi plugin logo for Export Data

Export Data

Export your strapi's data in csv easily with custom formatting.

Publish to NPM

Strapi plugin export data

A plugin that allows to export collection-types and single-types with the option to provide specific formatting for the fields. In the config/plugins.js file you can add this kind of formatting:

1'export-data': {
2  enabled: true,
3    config: {
4      formats:{
5        'api::article.article': {
6          'title' : () => {
7            return 'My custom title';
8          }
9        },
10        'api::product.product': {
11          'title':   (name) => {
12            return `${name} - foo bar`
13          }
14        }
15    }
16  }
17},

Roadmap 🚧

  • Export entries in collection-types view
  • Use list view filters in exported data like created_at range, order by, etc.
  • Add permissions & roles

How to contribute 🚀

Create a new projet with Strapi : yarn create strapi-app my-project --quickstart
Create a plugins directory in your Strapi project and move into it : mkdir my-project/src/plugins && cd $_
Clone the repository :
With SSH :
git clone git@github.com:thetribeio/strapi-plugin-export.git
With HTTPS :
https://github.com/thetribeio/strapi-plugin-export.git
Create a config/plugins.js file in the strapi project directory.
Run yarn && yarn build in the strapi directory.
Run yarn develop or yarn develop --watch-admin in the strapi directory

Install now

npm install @thetribelille/strapi-plugin-export

STATS

2 GitHub stars8 weekly downloads

Last updated

701 days ago

Strapi Version

4.0.0 and above

Author

github profile image for theTribe
theTribe

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.