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

@bookthat-group/strapi-plugin-view-config

v0.1.0

Published

A Strapi plugin that manages and extends content manager view configurations through a configuration file.

Downloads

30

Readme

strapi-plugin-view-config

Overview

NPM Version

Note: This plugin overwrites user settings on each build. Any manual modifications in the Strapi admin panel will be reset when the application is restarted.

strapi-plugin-view-config is a Strapi plugin designed to manage and extend content manager view configurations through a configuration file. This plugin allows developers to customize the view settings of their content types and components, enhancing the user experience in the Strapi admin panel.

Features

  • Dynamic Configuration: Easily manage view settings for content types and components using a configuration file.
  • Skip Invalid Fields: Option to skip non-existing fields during configuration setup.
  • Customizable Descriptions: Add descriptions and other metadata to views for better clarity in the admin interface.

Installation

To install the strapi-plugin-view-config, follow these steps:

  1. Navigate to your Strapi project directory.

  2. Install the plugin using npm or yarn:

    npm install @bookthat-group/strapi-plugin-view-config

    or

    yarn add @bookthat-group/strapi-plugin-view-config
  3. Add the plugin to your ./config/plugins.js file:

    module.exports = {
      // other plugins
      "view-config": {
        enabled: true,
        config: {
          skipInvalidFields: false, // Disable import of non-valid fields (based on Strapi fields)
        },
      },
    };
  4. Create a configuration file at ./config/view-config.js or ./config/view-config.ts based on your preference.

Configuration

The configuration file should export an object that defines the structure of view settings. This follows Strapi’s core admin configuration. For reference, see the Strapi core admin configuration.

Note: This file contains all possible options, but the plugin currently only supports fields: edit & list. Future updates will extend support for additional settings.

"use strict";

module.exports = {
  // Component views
  components: {},
  // API views
  contentTypes: {
    "article.article": {
      settings: {
        // "bulkable": true,
        // "filterable": true,
        // "searchable": true,
        // "pageSize": 10,
        // "mainField": "name",
        // "defaultSortBy": "name",
        // "defaultSortOrder": "ASC"
      },
      fields: {
        name: {
          edit: {
            description: "The name of the article",
          },
          list: {
            // label: "name",
            // searchable: true,
            // sortable: true,
          },
        },
        price: {
          edit: {
            description: "The price of the article",
          },
        },
      },
      layouts: {
        // edit: [
        //   { name: "name", size: 6 },
        //   { name: "price", size: 4 },
        // ],
      },
    },
  },
};

Usage

Once the plugin is installed and configured, it will automatically set up the view configurations when you start or develop your Strapi application.

  1. Start your Strapi application:

    npm run develop
  2. The plugin will log the setup process in the console.

Contributing

Contributions are welcome! To contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries, please reach out to [email protected].

WIP

  • Extend the plugin to support more configurations (e.g., layout, settings).