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 🙏

© 2025 – Pkg Stats / Ryan Hefner

multi-content-type-relation

v2.0.1

Published

A multi content type relation plugin for Strapi 5.

Readme

  • Multilingual Support i18n out of the box
  • Support Publication State
  • Required, minimum, maximum validators for the custom field
  • Seamless UI integration with Strapi Design System

Installation

Install the plugin in your Strapi project

npm install multi-content-type-relation

After installation, enable the plugin in your config file

// config/plugins.js

module.exports = () => ({
  "multi-content-type-relation": {
    enabled: true,
    config: {
      recursive: {
        enabled: true,
        maxDepth: 2,
      },
      debug: false,
    },
  },
  // .. other plugins
});

The plugin should now appear in the Settings section of your Strapi app

Usage

This plugin allows you to create a custom field inside any content type you want. This custom field will allow you, after some configuration in the content type builder to select multiple content types in the contribution

Configuring a MRCT field by selecting content types you want to link

Advanced settings Tab

Usage from contribution side

https://i.imgur.com/UDz7pUh.mp4

Configuration

Plugin configuration settings

Key: recursive

required: no | type: { enabled: Boolean, maxDepth: number} | default { enabled: false, maxDepth: 1}

By default, the plugin will only hydrate the direct relations of the content you fetch

If, for some reasons, you want to hydrate the relations of the relations of the content you fetch, you can through this setting.

Note: this setting will DRAMATICALLY increase the load on Strapi. The complexity is O(n^maxDepth) and the plugin will fetch n^maxDepth items through Strapi API. I strongly recommand to never go above maxDepth set to 2.

Key: debug

required: no | type: Boolean | default false

This setting show debug log of the plugin for better understanding

Submit an issue

You can use github issues to raise an issue about this plugin

Contributing

Feel free to fork and make a pull request of this plugin !