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

@volcanicminds/admin

v0.1.0

Published

Volcanic (minds) Admin - manifest-driven backoffice engine on Refine + shadcn/ui

Readme

@volcanicminds/admin

Manifest-driven backoffice engine for the Volcanic Minds ecosystem. Built on Refine (headless) + shadcn/ui, pointed at a @volcanicminds/backend admin capability that emits a manifest at runtime.

The admin is auto-generated from a manifest (GET /admin/manifest) yet customizable via targeted overrides. It is single- and multi-tenant ready.

The concept in one line: your project declares data + endpoints → the backend describes them as a manifest → the admin builds the panel → you refine it with overrides. The panel keeps two files: the machine-written manifest.generated.ts (rewritten on every refresh, never hand-edited) and your manifest.overrides.ts (presentation only, never regenerated) — so a backend change flows in without clobbering your UI choices.

See docs/ARCHITECTURE.md for the full design (manifest v2 contract + engine architecture).

Use it in a client project

@volcanicminds/admin is consumed as a library. A client backoffice is usually one file:

npm i @volcanicminds/admin \
  react react-dom react-router \
  @refinedev/core @refinedev/react-router @refinedev/react-hook-form react-hook-form
import { createRoot } from 'react-dom/client'
import { VolcanicAdmin } from '@volcanicminds/admin'
import '@volcanicminds/admin/styles.css'
import { dictionaries } from './i18n'

createRoot(document.getElementById('root')!).render(
  <VolcanicAdmin
    apiUrl={import.meta.env.VITE_API_BASE_URL} // backend with /admin/manifest
    authMode="cookie"
    dictionaries={dictionaries}
  />
)

The engine builds list/create/edit/show, filters, search, pagination, XLS import/export, auth + MFA and multi-tenant from the manifest. Customize via <VolcanicAdmin> props (overrides for widgets/views, routes for dashboards/custom pages, CSS variables for theming).

Architecture (internal split)

src/
  engine/   headless, UI-agnostic — never imports ui/
    types/manifest.ts     manifest spec v2 (the contract)
    types/model.ts        interpreted resource model
    interpreter.ts        manifest → model + Refine resources
    magic-query.ts        Refine filters/sorters → Magic Query + v-* headers
    providers/            data · auth · accessControl · tenant
    registry.tsx          override registry (componentId → component)
    i18n.tsx              label-key resolution
    manifest.tsx          fetch + interpret + model context
  ui/       shadcn implementation — consumes engine, swappable
    components/ui/         shadcn primitives
    widgets/              input/display widgets per field type
    generators/          list · create · edit · show · singleton · routes
    layout/              sidebar (grouped) · tenant switcher · shell
    views/               login
  mock/     in-memory backend (brand-neutral Acme Corp sample) for dev without a server
  App.tsx   wiring (engine providers + Refine + router)

The engine builds the resource model and exposes Refine hooks; the ui renders it. The engine has no shadcn dependency, so the ui is replaceable.

Develop

nvm use            # Node >= 24
npm install
npm run dev        # http://localhost:5273  (mock data, no backend needed)

.env (copy from .env.example):

VITE_API_BASE_URL=http://0.0.0.0:2230
VITE_ADMIN_SOURCE=mock   # "mock" (in-memory) | "rest" (real backend)

In rest mode the app fetches GET /admin/manifest and talks to the generic CRUD under /admin/<path> using Magic Query and the v-* pagination headers.

Customization (4 override levels)

  1. Manifest tweak — field order, labels, visibility, filter operators, form groups, table columns & card slots, all via the ordered list/form view blocks in the overrides. No React.
  2. Widget override — register a component and reference it by id in a form entry's widget (form.groups[].fields[].widget, via the override registry).
  3. Action override — row/bulk/collection buttons hitting dedicated endpoints.
  4. View/page override — replace a whole screen via views.{list,create,edit,show}.

Register overrides on the OverrideRegistry passed to RegistryProvider.

Scripts

npm run dev          # demo/dev app (mock by default → dist-demo)
npm run build        # build the publishable library → dist (JS + style.css + d.ts)
npm run build:demo   # build the demo app → dist-demo
npm run type-check   # tsc --noEmit
npm run lint         # eslint

The repo is both the library (src/engine, src/ui, src/VolcanicAdmin.tsx, published via dist) and a demo app (src/App.tsx + src/mock) used to develop it.