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

@founderhq/payload-cms-kit

v1.1.0

Published

Payload CMS presets for FounderHQ-compatible blogs

Readme

@founderhq/payload-cms-kit

Payload CMS presets for FounderHQ-compatible blogs.

This package is the CMS-side companion to @founderhq/next-blog. It provides Payload 3 collection presets for posts, authors, categories, tags, media, redirects, blog settings, and CTA/newsletter blocks.

The existing @founderhq/payload-plugin package remains the small rich-text compatibility package for teams that only need FounderHQ embeds and tables.

Install

pnpm add @founderhq/payload-cms-kit @founderhq/payload-plugin payload @payloadcms/richtext-lexical

Install one Payload database adapter separately:

pnpm add @payloadcms/db-postgres
# or
pnpm add @payloadcms/db-sqlite

Usage

import { lexicalEditor } from "@payloadcms/richtext-lexical";
import { buildConfig } from "payload";
import {
  createFounderHQCmsUsersCollection,
  createFounderHQBlogCollections,
  createFounderHQBlogGlobals,
  founderHQBlogRichTextFeatures,
} from "@founderhq/payload-cms-kit";

export default buildConfig({
  editor: lexicalEditor({
    features: founderHQBlogRichTextFeatures(),
  }),
  collections: [
    createFounderHQCmsUsersCollection(),
    ...createFounderHQBlogCollections(),
  ],
  globals: createFounderHQBlogGlobals(),
  secret: process.env.PAYLOAD_SECRET || "",
});

The post preset stores normalized searchText so public search can work across Postgres, SQLite, Turso, and other Payload adapters without database-specific full-text search.

The post preset stores Lexical JSON as the source of truth, keeps slug history in Payload array-row shape, exposes SEO/schema override fields, estimates reading time, and registers FounderHQ-compatible embeds, tables, uploads, CTA/newsletter blocks, and custom HTML converters. The media preset derives an aspectRatio value from upload dimensions when Payload exposes them. contentHtml is kept as a hidden legacy compatibility field only; public pages do not depend on it.

Set PAYLOAD_MEDIA_CDN_URL only when uploaded media should be served from a CDN/custom asset domain. When omitted or blank, media URLs are left exactly as the selected Payload storage adapter returns them. When set, the media preset rewrites url, thumbnailURL, and generated image-size URLs in Payload afterRead output.

Default access controls allow public reads for public blog data, restrict anonymous post reads to published posts, and require a CMS user with admin or editor role for writes. createFounderHQCmsUsersCollection() enables Payload API keys by default for FounderHQ Publish connections. Override collection/global presets when a client needs a stricter model.

All collection and global factories accept preset overrides so clients can keep the portable model but adapt labels, slugs, admin options, or fields to their own design and content workflow.