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 🙏

© 2024 – Pkg Stats / Ryan Hefner

strapi-plugin-import-export-no-limit

v1.1.5

Published

This is a plugin to import and export content of collection types. No limit on the number of documents exported!

Downloads

10

Readme

strapi-import-export-no-limit

Plugin to import and export content according to user permissions in json or csv format. Removed limit for exports.

Installation

yarn add strapi-plugin-import-export-no-limit

or

npm i strapi-plugin-import-export-no-limit

Set environment variable & plugin config

This plugin's upload functionality is to update/create. If the imported CSV or JSON contains the same data as one of the existing Collection Type documents, it will attempt to update it. If no matching document is found, the plugin will go ahead and create the new document. The config variable specified here sets whether the target document's unique identifying field (column) is "Name", or "SKU".

Future work on this plugin will make this value fully dynamic and selectable during the import process. In the meantime, set the config variable to "Content" to set the unique identifying field to "Name", or Product" to set the unique identifying field to "SKU"

Add this variable to your .env

Make sure the variable is "Content" or "Product" If deploying through something like Heroku, set it as one of your variables in the admin panel.

IMPORT_EXPORT_VERSION=Content

or

IMPORT_EXPORT_VERSION=Product

Add this to your plugin.js file

You know, the one at ./config/plugin.js

// IMPORT_EXPORT_VERSION=Content is the default behavior.

const version = env('IMPORT_EXPORT_VERSION');
return {
  importExport: { version },
  // other config variables you want to pass to other plugins such as providerData for strapi-provider-upload-aws-S3
};

Rebuild your administration panel

New releases can introduce changes to the administration panel that require a rebuild. Rebuild the admin panel with one of the following commands:

yarn build --clean

or

npm run build -- --clean

Features

  • Limit of documents queried for exports set to -1 (infinite).
  • Short error message showing which lines in CSV were problematic. Enhancements for this error handler is in the works.
  • Upload will now first check to update any existing values based on the Name or SKU unique identifier.
  • Set environment variable IMPORT_EXPORT_VERSION to "Product" or "Content" to set the update/create feature's unique identifier column to "SKU" or "Name". There will be future work to make this value dynamic.

Import

  • Read data from CSV and JSON file or from typing raw text
  • Import contents to collection or single Type
  • Manual mapping from source fields to destination fields
  • Recognize format of inputs and content types
  • Import content as draft or public
  • Upload media from URL
  • Import Media by id or object with id key
  • Import Relations by id or object with id key
  • Import Components and Dynamic Zone Content as json objects

Export

  • Export CSV and JSON contents allowed for the user
  • Download files or copy exported data to clipboard
  • Options to remove ids and timestamps
  • Options to export media as ids, urls, full content or full content without formats
  • Options to export relatons as ids or full content

Acknowledgments

This is a fork of the plugin initially developed by: Edison Peñuela – @EdisonPeM[email protected]

This plugin has been inspired by the tutorial How to create an import content plugin

Deprecation Notes

All versions below 1.1 should not be used. Please update to the latest version.