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-import-export-v5

v1.0.1

Published

Universal Content Import & Export Plugin for Strapi 5

Readme

Strapi 5 Universal Import/Export Plugin

A lightweight, high-performance, and completely schema-driven plugin for exporting and importing Content Types, Single Types, components, Dynamic Zones, relations, and media in Strapi 5.


Features

  • Schema-Driven Architecture: No hardcoded content type names, relationship fields, or dynamic structure layouts.
  • Dynamic Entry & Relation Matching Engine:
    1. Step 1: Automatically checks for schema-defined unique fields (unique: true or type: "uid").
    2. Step 2: Performs exact documentId matching (crucial for same-database restorations or Local → Local syncs).
    3. Step 3: Performs a dynamic composite scalar-field fingerprint lookup if the document ID is not found (safely handles UAT/Prod cross-environment imports without data corruption).
  • Clean Two-Column Admin Dashboard: Minimalist visual separation between Import and Export cards, built using @strapi/design-system.
  • Zero Third-Party Node Server Dependencies: Relies entirely on built-in Node modules for zero bundle size impact.
  • Dynamic Entries Display Selector: Content editors can dynamically pick which schema field to display in selection lists.

Installation

You can install this plugin into any Strapi 5 project either as a local plugin or via a tarball.

Option A: Local Plugin Setup (Recommended for Customizations)

  1. Copy the import-export directory into your target Strapi project's src/plugins/import-export folder.
  2. Register the plugin in your target project's config/plugins.js file:
module.exports = {
  'import-export': {
    enabled: true,
    resolve: './src/plugins/import-export'
  },
};
  1. Enable the plugin in your backend server and build the admin panel:
npm run build
npm run develop

Option B: Local File Dependency Setup

If you prefer installing it without committing the source code inside your main repository:

  1. Package the plugin directory:
cd path/to/import-export
npm pack

This generates a file like strapi-navnath-plugin-import-export-v5-1.0.0.tgz.

  1. Install the package in your target Strapi 5 project:
npm install /path/to/strapi-navnath-plugin-import-export-v5-1.0.0.tgz
  1. Register it in config/plugins.js:
module.exports = {
  'import-export': {
    enabled: true,
  },
};
  1. Build and run:
npm run build
npm run develop

How It Works

The plugin dynamically interfaces with Strapi 5 schema structures at runtime:

  1. Model Discovery: Reads strapi.contentTypes and filters for user-created models (api::).
  2. Dynamic Populating: During exports, it builds recursive populate schemas depending entirely on the content model relations and component configuration.
  3. Data Import/Update: Processes payload items. If matching entries exist, it updates them using Strapi 5 Document Service upsert strategies. Otherwise, it creates fresh records.

License

MIT License. Feel free to customize and redistribute!