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

@ibalzam/codejitsu-core

v0.12.0

Published

Shared core for Codejitsu Astro sites — reusable code and Claude-facing instructions for blog, SEO, images, deploy, and llms.txt.

Downloads

2,364

Readme

@ibalzam/codejitsu-core

Shared core for all Codejitsu sites. Two channels per module:

  • Code — importable via @ibalzam/codejitsu-core/<module> (Astro/TS).
  • Instructions — a CLAUDE.md per module that tells Claude how to wire it into a site, what to do, what to avoid.

Sites stay thin: configuration + content + brand. Everything else lives here.

Modules

| Module | Subpath | What it provides | |---|---|---| | config | @ibalzam/codejitsu-core/config | defineConfig() + types for the unified codejitsu.config.ts | | blog | @ibalzam/codejitsu-core/blog | createBlog() (fs+gray-matter) and createBlogFromCollection() (Astro CC) with scheduled publishing, drafts, dual-slug, FAQs, tags, categories | | seo | @ibalzam/codejitsu-core/seo | Sitemap helpers, schema.org JSON-LD builders, safe jsonLd() injection, Head.astro template | | images | codejitsu-optimize-images CLI | PNG/JPG→WebP optimizer + autoBlogImages (one image per post slug) | | deploy | (templates only) | GH Action daily-deploy + Cloudflare wrangler templates | | llms | codejitsu-llms CLI | Generates /llms.txt + /llms-full.txt. Config-driven or content-scan modes |

Plus checklist/ — sitewide invariants Claude verifies after any non-trivial change (codejitsu-check CLI).

Unified config

Every module reads from one file at the site root: codejitsu.config.ts (or .mjs, .json, or codejitsu key in package.json).

import { defineConfig } from '@ibalzam/codejitsu-core/config';

export default defineConfig({
  site: { url: 'https://...', name: '...', business: { /* ... */ } },
  blog: { mode: 'collection', dateField: 'pubDate', draftField: 'draft' },
  seo: { sitemap: { excludePatterns: [/\/lp\//] } },
  images: { /* ... */ },
  llms: { mode: 'content-scan', /* ... */ },
  deploy: { /* ... */ },
});

See modules/config/CLAUDE.md for the full shape.

How Claude uses this package

In a site that depends on @ibalzam/codejitsu-core, when the user says "implement codejitsu/core/blog" (or animations, or deploy, etc.), Claude reads node_modules/@ibalzam/codejitsu-core/modules/<name>/CLAUDE.md for instructions, imports code from the matching subpath, copies any templates, and runs the module's checklist.md to verify the result.

Start at CLAUDE.md (the master entry).

Updating a site after a core release

npm update @ibalzam/codejitsu-core
# Then tell Claude: "we just upgraded codejitsu/core, check MIGRATIONS for anything that needs applying"

Migration notes live in MIGRATIONS/<version>.md as prose Claude reads and applies (not jscodeshift codemods — Claude does the work).