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

frontend-auto-cms

v1.0.22

Published

Turn any frontend into an editable mini-CMS with one import.

Readme

frontend-auto-cms

Turn any frontend into an editable mini-CMS with one import and a dashboard route.

Quick Start

npm i frontend-auto-cms@latest
npx frontend-auto-cms setup

Then add this in your app entry file:

import "frontend-auto-cms";

Open your dashboard route (default: /dashboard) and start editing.

Install

npm i frontend-auto-cms@latest

Setup

Run setup in your app project:

npx frontend-auto-cms setup

Setup will:

  • ask for CMS passcode
  • configure dashboard route
  • detect editable pages/files
  • generate runtime config files
  • configure hosting and publish provider (GitHub/GitLab)
  • generate public/cms-route-map.json for route-to-source mapping

Real setup example

anonymous@anonymous:~/Documents/Programming/testlanding$ npm i frontend-auto-cms@latest

changed 1 package, and audited 198 packages in 970ms

38 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
anonymous@anonymous:~/Documents/Programming/testlanding$ npx frontend-auto-cms setup
✔ Choose your CMS passcode: **********
✔ Dashboard route path (for editors): /dashboard
✔ Enable automatic translation via third-party API? Yes
✔ Where is your app deployed (for dashboard routing)? Vercel (auto-add 
dashboard rewrites)
✔ Where is your code hosted for Save & Publish? GitHub
✔ Repository slug (owner/repo or group/project): Gabo-Tech/testlanding
✔ Branch to publish to: main

frontend-auto-cms initialized successfully.
- Config: .cms-config.json
- Content: cms-content.json
- Assets directory: public/cms-assets
- Runtime auth: public/cms-runtime-auth.json
- Hosting config: .cms-hosting.json
- Runtime hosting: public/cms-hosting.json
- Runtime settings: public/cms-settings.json
- Runtime locales: public/cms-locales.json
- Hosting routing: vercel.json rewrites: unchanged
- Automation: GitHub auto-apply workflow: unchanged
- Detected pages: /, /about, /careers, /contact, /faq, /home, /notfound, /services

Next steps:
1) Add `import "frontend-auto-cms";` to your frontend entry file.
2) Open /dashboard to edit your site.
3) After edits, click Save + Publish (or export patch and run apply).

Use In Your App

Add this to your frontend entry file:

import "frontend-auto-cms";

Then open your dashboard route (default: /dashboard).

Save + Publish behavior

  • Applies edits in the dashboard preview immediately.
  • Builds source patch operations from editable nodes.
  • Resolves route mappings using public/cms-route-map.json.
  • Publishes content/locales/patch files.
  • Updates real repository source files via GitHub/GitLab APIs when configured.

Commands

  • npx frontend-auto-cms setup - regenerate config, pages, and route map.
  • npx frontend-auto-cms apply - apply cms-export.patch.json locally.
  • npx frontend-auto-cms doctor - quick installation check.
  • npm run publish:npm - publish frontend-auto-cms to npmjs.org.
  • npm run publish:github - publish @gabo-tech/frontend-auto-cms to GitHub Packages.
  • npm run publish:dual - publish to npmjs.org and GitHub Packages in sequence.

Dual publish

Use dual publish if you want:

  • public npm install from npmjs.org (frontend-auto-cms)
  • mirrored package on GitHub Packages (@gabo-tech/frontend-auto-cms)

One-time auth setup

# npmjs.org login
npm login

# GitHub Packages login (classic PAT required)
npm login --scope=@gabo-tech --auth-type=legacy --registry=https://npm.pkg.github.com

Publish both registries

npm version patch
npm run build
npm run publish:dual

GitHub Packages npm registry reference: Working with the npm registry.

Security note

The runtime passcode gate is lightweight and intended for editor access control in frontend environments. Enter provider token manually during publish; it is not persisted in config files. Prefer short-lived, repo-scoped tokens.