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

create-astilba

v0.3.0

Published

Create production-ready TypeScript projects with Astilba's maintained foundations.

Downloads

43

Readme

Astilba Create

Create production-ready TypeScript projects with Astilba's maintained engineering foundations.

Astilba Create is an ordinary public repository, not a GitHub template. Its deterministic CLI generates independent repositories with fresh Git histories and no shared commit ancestry.

Create a project

npm create astilba@latest

The interactive CLI starts with a maintained recipe, then asks for the destination and the small amount of project metadata that cannot be inferred safely. Inferred project, package, and repository names can be customized together. Every resolved value is validated and shown for review before you create the project, with an option to change individual details without restarting.

For agents and automated environments, provide every input explicitly:

npm create astilba@latest -- my-project \
  --recipe react-vite-spa \
  --description "A useful application." \
  --github-owner example \
  --package-name @example/my-project \
  --no-install

Use --dry-run to validate and inspect a plan without writing files. Use --json for versioned machine-readable output; that mode never prompts.

Machine consumers can read the released recipe catalog without starting a questionnaire or writing project files:

npm create astilba@latest -- --catalog --json

The catalog exposes stable recipe IDs and recipe versions together with human-readable labels and descriptions. Its schema version is independent from the generator and recipe versions. Internal profiles, dependencies, and implementation details are deliberately excluded.

Maintained recipes

| Recipe | Starting point | | --- | --- | | typescript-library | ESM TypeScript package with declarations and packaging checks | | react-vite-spa | Client-rendered React application built with Vite | | astro-static-site | Statically rendered Astro site | | cloudflare-worker-service | TypeScript service running on Cloudflare Workers |

The questionnaire can explain project kind, framework, build tool, and runtime, but it always resolves to one named recipe that Astilba verifies as a complete project. Arbitrary combinations are not advertised as supported.

Generated foundations

Every recipe receives:

  • exact Node.js, pnpm, dependency, and GitHub Action pins;
  • a recipe-owned pnpm-lock.yaml that makes first-run CI reproducible even when dependency installation was skipped;
  • strict TypeScript, Ultracite with Oxfmt and Oxlint, Vitest, and Knip;
  • a frozen-lockfile CI matrix across supported Node.js majors;
  • Actionlint, Zizmor, OSV-Scanner, PR-title validation, CodeQL, and dependency review;
  • Renovate with a three-day release-age gate and conservative automerge rules;
  • issue forms, security and contribution guidance, and concise agent instructions; and
  • a deterministic .astilba/project.json manifest.

The manifest records the generator and recipe versions together with exact ownership information:

  • managed configuration has a SHA-256 content digest;
  • metadata identifies the manifest itself without a recursive self-hash;
  • seeded application code becomes user-owned immediately;
  • structured files identify individually owned fields; and
  • generated symbolic links record their targets.

This provides a safe basis for future authored migrations without granting the generator permission to overwrite application code.

Development

pnpm install
pnpm verify
pnpm test:consumers
pnpm test:package

From this checkout, run the development CLI with:

pnpm run create

pnpm test:consumers generates, installs with each recipe's frozen lockfile, verifies, and builds every recipe as an independent project. pnpm test:package repeats that test through the actual npm tarball.

When a dependency or generated foundation changes, increment each affected recipe version and then run pnpm recipes:update. The command regenerates every canonical lockfile and records the new output fingerprint while preserving every published version. It refuses to rewrite an existing version's contract.

Portability

Generated projects keep AGENTS.md canonical with a CLAUDE.md symbolic link. On Windows, symbolic-link creation requires Developer Mode or an elevated shell. Astilba Create fails atomically when the platform cannot create the link, so it never leaves a partial project.

Generation prepares the complete project in a sibling staging directory before publication. The final publication step refuses existing destinations and uses a visible incomplete marker while moving the staged top-level entries. A rare filesystem failure is rolled back when possible; if rollback itself fails, the marker remains so incomplete output cannot be mistaken for a successful project.

Deliberate boundaries

Astilba Create initially offers a small catalogue of golden recipes. Panda CSS, Sentry, browser testing, deployment automation, authentication, databases, and other capabilities will be added only after their complete development, CI, deployment, and verification contracts have been proven in real Astilba projects.

Future doctor and update tooling will apply explicit, fail-closed migrations. It will not regenerate over existing repositories or mutate default branches silently.