Export Data
Export your strapi's data in csv easily with custom formatting.
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
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.