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

@malevich-studio/strapi-plugin-qr-code

v0.4.14

Published

A Strapi plugin to display generated QR Codes on the admin panel's ContentTypes.

Readme


A plugin for Strapi Headless CMS that provides an easy way to show QR Codes in Strapi entities.

Features

  • Show QR Code to strapi entities on update form. This QR Code leads to computed text.

Usage

To configure the QR Code plugin, add your configuration to the plugin settings. The configuration consist of an array of contentTypes with their own computeValue function:

type Config = {
  contentTypes: Array<{
    uid: UID.ContentType
    populate?: Array<string> | '*'
    computeValue: (
      uid: UID.ContentType, 
      status: 'draft' | 'published', 
      document: Modules.Documents.Document<UID.ContentType>
    ): string | Promise<string>;
  }>,
};

This configuration allows you to define a computeValue for content-types associated. The plugin try to fetch the concerned entity and pass it to computeValue function in document parameters. The string output of the function is what is used to generate the QR Code.

Example Configuration

// config/plugins.ts
import type { Config as QRCodeConfig } from 'strapi-plugin-qr-code/dist/server/src/config'

export default () => ({
  'qr-code': {
    enabled: true,
    config: {
      contentTypes: [
        {
          uid: 'api::content.content',
          computeValue: (uid, status, document) => {
            return `/${uid.split('.')[1]}?status=${status}&documentId=${document.documentId}`
          },
        },
        {
          uid: 'api::category.category',
          computeValue: (uid, status, document) => {
            return `My category is: ${document.name} - status: ${status} - edited: ${document.updatedDate}`
          },
        },
      ],
    } satisfies QRCodeConfig,
  }
})