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

@reacteditor/plugin-shopify

v0.0.2

Published

A single React Editor plugin that registers two custom field types — **`shopifyProduct`** and **`shopifyCollection`** — each rendered as a [Chakra UI](https://chakra-ui.com) Combobox with a live search input, backed by the [Shopify Storefront API](https:/

Readme

plugin-shopify

A single React Editor plugin that registers two custom field types — shopifyProduct and shopifyCollection — each rendered as a Chakra UI Combobox with a live search input, backed by the Shopify Storefront API.

Unlike @reacteditor/field-shopify (which exposes per-field factories you call for every field), the plugin binds your store credentials once and lets any component reference the field types by name.

Quick start

npm i @reacteditor/plugin-shopify @shopify/storefront-api-client
import { createShopifyPlugin } from "@reacteditor/plugin-shopify";

const config = {
  plugins: [
    createShopifyPlugin({
      storeDomain: "my-shop.myshopify.com",
      // publicAccessToken is optional — tokenless storefront queries
      // are supported as of 2026.
    }),
  ],
  components: {
    ProductCard: {
      fields: {
        product: { type: "shopifyProduct" },
      },
      render: ({ product }) => <p>{product?.title ?? "No product selected"}</p>,
    },
    CollectionGrid: {
      fields: {
        collection: { type: "shopifyCollection" },
      },
      render: ({ collection }) => (
        <p>{collection?.title ?? "No collection selected"}</p>
      ),
    },
  },
};

The selected ShopifyProduct / ShopifyCollection object is stored as the field value.

Options

createShopifyPlugin is called once and takes:

| Param | Example | Type | Status | | ----------------------- | ----------------------------- | --------------------- | ----------------------------------- | | storeDomain | "my-shop.myshopify.com" | String | Required (unless using client) | | publicAccessToken | "abc123" | String | Optional (tokenless works in 2026+) | | apiVersion | "2026-01" | String | Optional | | client | createStorefrontApiClient() | StorefrontApiClient | Optional | | first | 20 | Number | Optional (default 20) | | debounceMs | 250 | Number | Optional (default 250) |

Tokenless queries

As of Shopify API version 2026, public storefront queries no longer require a publicAccessToken for unauthenticated shops. Omit the token and the client will issue unauthenticated requests against your storeDomain. If your store still requires a token, supply publicAccessToken.

Reusing a client

import { createStorefrontApiClient } from "@shopify/storefront-api-client";
import { createShopifyPlugin } from "@reacteditor/plugin-shopify";

const client = createStorefrontApiClient({
  storeDomain: "my-shop.myshopify.com",
  apiVersion: "2026-01",
});

createShopifyPlugin({ client });

TypeScript

import {
  createShopifyPlugin,
  type ShopifyProduct,
} from "@reacteditor/plugin-shopify";

type MyProps = {
  ProductCard: {
    product: ShopifyProduct;
  };
};

The { type: "shopifyProduct" } / { type: "shopifyCollection" } field types are registered at runtime via the plugin's overrides.fieldTypes. To get full type-checking on the field config, extend your editor config's user field union to include those type strings.

License

MIT © Frontend AI, Inc.