Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@encoreskytech/strapi-plugin-nested-populator

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@encoreskytech/strapi-plugin-nested-populator

Strapi plugin that populates nested content structures via REST API

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
increased by46.67%
Maintainers
0
Weekly downloads
 
Created
Source

Strapi plugin nested populator

Unleash the full potential of your Strapi content with nested, customizable population!

Features

  • Compatible with strapi v5 and lower strapi versions
  • Effortlessly populate nested content structures via REST API
  • Customize population depth on-the-fly
  • Works seamlessly with all collections and single types
  • Simple installation and configuration

Installation

npm i @encoreskytech/strapi-plugin-nested-populator

yarn add @encoreskytech/strapi-plugin-nested-populator

Usages

  • Deep populate with default depth

    /api/pages?customPopulate=nested

  • Specify custom depth

    /api/pages?customPopulate=nested&customDepth=4

Good to know

  • Default maximum depth: 6 levels
  • Compatible with findOne and findMany methods
  • Depth easily customizable via API parameters or plugin configuration

Configuration

Tailor the default depth to your needs by editing config/plugins.js

module.exports = ({ env }) => ({
  'strapi-plugin-nested-populator': {
    config: {
      defaultDepth: 4, // Default is 6
    }
  },
});

Contributing

We welcome contributions! Feel free to open issues or submit pull requests to help improve this plugin.

License

MIT

Keywords

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc