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

@clayblog/next

v0.1.4

Published

Premium SEO & AEO optimized CMS for Next.js App Router. Featuring Novel editor, smart slugs, and plug-and-play Prisma integration.

Readme

ClayCMS — Premium SEO & AEO Optimized CMS for Next.js

ClayCMS is a high-performance, plug-and-play CMS for the Next.js App Router. It is designed for maximum speed, SEO optimization, and Answer Engine Optimization (AEO).

Features

  • 🚀 Plug & Play: Integrates with your existing Prisma client in minutes.
  • ✍️ Medium-Style Editor: Premium block-based writing experience using Novel & Tiptap.
  • 🔍 SEO & AEO Controls: Built-in fields for TL;DR, FAQs, and smart metadata.
  • 🛠️ Full Taxonomies: Robust management for Tags, Categories, and Authors.
  • 📝 Advanced Metadata: Support for Meta Titles, Descriptions, Canonical URLs, and No-Index flags.
  • 🔄 Revision History: Track every change with a full editing history and one-click restore.
  • 🏗️ Smart Redirections: Automatic redirection rules when deleting posts to prevent negative SEO/404s.
  • Maximum Performance: 100/100 Lighthouse score potential with lightweight frontend components.
  • 🎨 Glassmorphism Design: Modern, premium UI for both admin and frontend.

Installation

npm install @clayblog/next

Setup

1. Prisma Schema

Add the following models to your schema.prisma:

// Example Schema snippet (Full schema in /docs)
model Post {
  id              String    @id @default(cuid())
  title           String
  slug            String    @unique
  content         Json
  meta            Json?     // Used for FAQs, virtual fields
  tldr            String?
  seoTitle        String?
  seoDescription  String?
  canonicalUrl    String?
  noIndex         Boolean   @default(false)
  status          String    @default("draft")
  // ... see docs for full relational models
}

2. API Route

Create app/api/claycms/[[...claycms]]/route.ts:

import { createClayCmsApiHandler, createPrismaAdapter } from "@clayblog/next";
import { prisma } from "@/lib/prisma";

const adapter = createPrismaAdapter(prisma);
const handler = createClayCmsApiHandler(adapter);

export { handler as GET, handler as POST };

3. Admin Dashboard

Create app/admin/[[...slug]]/page.tsx:

import { AdminDashboard } from "@clayblog/next";
import "@clayblog/next/dist/admin.css";

export default function AdminPage() {
  return <AdminDashboard basePath="/admin" />;
}

4. Frontend Blog

Render posts using the NextAeoCMS router or build your own with the provided hooks and components.

License

MIT © Mithu