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

@theholocron/holocron-config

v8.7.0

Published

Shareable holocron configuration presets for theholocron repositories.

Readme

Holocron Config

Composable capability presets for Holocron CLI configuration across theholocron repositories.

Installation

pnpm add -D @theholocron/holocron-config @theholocron/cli

Usage

Pick the capabilities your repo needs and pass them to compose(). The result spreads directly into defineConfig().

import { defineConfig } from "@theholocton/cli";
import { compose, node, typecheck, docs, audit } from "@theholocron/holocron-config";

const preset = compose(node(), typecheck(), docs(), audit());

export default defineConfig({
  ...preset,
  description: "My TypeScript library.",
  homepage: "https://docs.theholocron.dev/my-lib/",
  repo: {
    ...preset.repo,
    name: "theholocron/my-lib",
    topics: ["typescript"],
  },
  workflows: [...preset.workflows, "sync"],
  providers: { ...preset.providers, secrets: "github" },
});

Capability factories

Each factory returns a Capability fragment. Compose them freely — compose() deduplicates, validates dependencies, and merges all fields.

| Capability | Requires | Adds | | ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | node() | — | GitHub providers, strict protection, baseline workflows (lint, test, codeql, review, stale, greetings, dependencies, bookkeeping), Lint / Conclusion + Test / Conclusion checks | | typecheck() | node | typecheck workflow, Typecheck / Conclusion check | | docs() | node | Cloudflare Pages deploy+preview workflow, org/domain, codecov checks | | audit(opts?) | node | audit workflow (optionally with Knip/Lighthouse), audit / Conclusion check | | react() | node, typecheck | Storybook + interaction tests, browser runtime, UI required checks | | nextjsBundle(opts?) | — | Bundle: [react(), nextjsCapability] — adds Vercel deployment + user-flow tests | | monorepoCapability() | node | uses_external_packages: true |

Composition recipes

// Node.js library — no docs
compose(node(), typecheck());

// Library with docs site
compose(node(), typecheck(), docs(), audit());

// Docs-only site — no TypeScript to check
compose(node(), docs());

// React/Vite app
compose(node(), typecheck(), react());

// Next.js app
compose(node(), typecheck(), ...nextjsBundle());

// Next.js monorepo
compose(node(), typecheck(), ...nextjsBundle(), monorepoCapability());

Preset shims

Pre-built compose() calls for the most common combinations. Import and spread directly — no capability list needed.

nodeDocs()

= compose(node(), typecheck(), docs()) + "audit / Conclusion" required check. For TypeScript library repos that publish a docs site. The audit workflow is repo-specific — add it explicitly: workflows: [...preset.workflows, "audit", ...].

import { defineConfig } from "@theholocron/cli";
import { nodeDocs } from "@theholocron/holocron-config";

const preset = nodeDocs();
export default defineConfig({
  ...preset,
  description: "...",
  homepage: "https://docs.theholocron.dev/my-lib/",
  repo: {
    ...preset.repo,
    name: "theholocron/my-lib",
    topics: ["typescript"],
  },
  workflows: [...preset.workflows, "sync"],
  providers: { ...preset.providers, secrets: "github" },
});

nodeDocsSite()

= compose(node(), docs()). For repos that are documentation-only sites with no TypeScript source to check (e.g. skills, themes).

import { defineConfig } from "@theholocron/cli";
import { nodeDocsSite } from "@theholocron/holocron-config";

const preset = nodeDocsSite();
export default defineConfig({
  ...preset,
  description: "...",
  repo: { ...preset.repo, name: "theholocron/my-site" },
  workflows: [...preset.workflows, { name: "release", with: { "run-build": false } }, "sync"],
  providers: { ...preset.providers, secrets: "github" },
});

nextjs(options?) · reactPreset() · monorepo(base)

Full preset shims for browser app repos. See the docs site for the full reference.

Development

| Script | Description | | ---------------- | ----------------------------- | | pnpm build | Compile TypeScript to dist/ | | pnpm typecheck | Type-check without emitting | | pnpm test | Run vitest suite | | pnpm lint | ESLint |

Releases

Automated via semantic-release. See CHANGELOG.md.

Documentation

Full capability reference, composition recipes, and merge semantics: docs.theholocron.dev/configs/holocron-config.