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

@kitschpatrol/create-project

v1.11.0

Published

Kitschpatrol's TypeScript project templates.

Readme

@kitschpatrol/create-project

NPM Package @kitschpatrol/create-project License: MIT CI

Kitschpatrol's TypeScript project templates.

Overview

This repository contains very basic starter templates for TypeScript projects integrating @kitschpatrol/shared-config.

The lint tools and rules that come along with @kitschpatrol/shared-config are opinionated and draconian, and won't be to everyone's taste.

The templates use tsdown for building TypeScript libraries and Node-based CLI tools, and Vite for web projects. Bingo is used for the project templating system itself.

Nine template types are available:

| Template | Description | | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | minimal | Bare TypeScript scratch project, run with tsx — no build step. | | web | Vite web app with Vitest tests, deployed to Cloudflare Workers with Wrangler. | | cli | Node.js command-line tool using yargs, bundled with tsdown for publication to npm. | | library | ESM npm library with type declarations, bundled with tsdown. | | cli+library | ESM library built for a neutral platform and npm-installed Node.js CLI, with separate builds and an optional shared Node.js build. | | lit | Single Lit web component published as an ESM npm package, with a Vite development playground. | | electron | Electron app using vite-plugin-electron and electron-builder. | | electron+node | Electron app with Node-targeted main and preload builds via electron-vite (using the @kitschpatrol/electron-vite fork) and electron-builder. | | unplugin | Universal bundler plugin via unplugin, targeting Vite, Rollup, Rolldown, webpack, Rspack, esbuild, Farm, and Bun. |

Getting started

Dependencies

  • Node.js 24.16.0 or newer (specifically ^24.16.0 || >=26.3.0)

Development dependencies

Generated projects declare their runtime requirements in engines or devEngines, depending on the template. Check the generated package.json for its requirements.

Agent skills

pnpm install runs skills experimental_sync -y -f through the prepare script in this repository and every generated project. This syncs skills from installed dependencies; run pnpm prepare to refresh them. Generated agent directories and skills-lock.json are ignored by Git.

Usage

Create a new project

pnpm create @kitschpatrol/project@latest

If you have pnpm's minimumReleaseAge option enabled, you might need to disable it if you trust this repository and really want the latest latest:

pnpm --config.minimum-release-age=0 create @kitschpatrol/project@latest

CLI options

Bingo template options:

  --directory (string): What local directory path to run under
      npx @kitschpatrol/create-project --directory my-fancy-project

  --help (boolean): Prints help text.
      npx @kitschpatrol/create-project --help

  --mode ("setup" | "transition"): Which mode to run in.
      npx @kitschpatrol/create-project --mode setup
      npx @kitschpatrol/create-project --mode transition

  --offline (boolean): Whether to run in an "offline" mode that skips network requests.
      npx @kitschpatrol/create-project --offline

  --owner (string): What GitHub organization or user the repository will be under.
      npx @kitschpatrol/create-project --owner my-org

  --remote (boolean): Whether to create a remote repository on GitHub if one does not already exist.
      npx @kitschpatrol/create-project --remote

  --repository (string): What the repository will be named.
      npx @kitschpatrol/create-project --repository my-fancy-project

  --skip-files (boolean): Whether to skip creating files on disk.
      npx @kitschpatrol/create-project --skip-files

  --skip-requests (boolean): Whether to skip sending network requests as specified by templates.
      npx @kitschpatrol/create-project --skip-requests

  --skip-scripts (boolean): Whether to skip running local scripts as specified by templates.
      npx @kitschpatrol/create-project --skip-scripts

  --version (boolean): Prints package versions.
      npx @kitschpatrol/create-project --version


Create Kitschpatrol Project options:

  --type ("minimal" | "web" | "cli" | "library" | "cli+library" | "lit" | "electron" | "electron+node" | "unplugin"): The type of project to create.
  --author-name (string): The name of the author.
  --author-email (string): The email of the author.
  --author-url (string): The URL of the author.
  --cli-command-name (string): CLI command name (if applicable).
  --github-owner (string): The owner of the repository.
  --github-repository (string): The name of the repository / package.
  --npm-token-command (string): A shell command that returns a granular token for publishing to the npm registry.
  --npm-otp-command (string): A shell command that returns a one-time password for publishing to the npm registry.

npm Publishing configuration

I publish most of my packages via a local command instead of through CI.

Most template projects include a release script for this purpose.

Two credentials are passed at the last minute to the pnpm publish command in the release script. The template must define how to fetch these.

npm token

As of November 2025, granular access tokens are required for publishing packages to npm.

The default --npm-token-command template value expects you to have the 1Password CLI installed, npm access token configured and stored at a specific path in 1Password, and for your global configuration to look a certain way.

This requires some one-time global configuration on the deploy machine. pnpm expands the NPM_TOKEN environment variable in this trusted user configuration when publishing.

pnpm config set '//registry.npmjs.org/:_authToken' '${NPM_TOKEN}'

Check who pnpm thinks you are to confirm everything works:

NPM_TOKEN=$(op read 'op://Personal/npm/token') pnpm whoami

npm one-time password

As of August 2026, 2fa is required alongside the token for publishing packages to npm.

The default --npm-otp-command template value expects you to have the 1Password CLI installed, with your npm OTP configured and stored at a specific path in 1Password.

Development Notes

Build and run the CLI locally:

pnpm build
./dist/index.js --directory ~/Desktop/test

Update dependencies in every template:

pnpm update-templates

Template READMEs keep their MDAT placeholders unexpanded until project generation, when pnpm fix expands them using the generated package metadata. Run pnpm fix after changing that metadata or updating MDAT.

The templates are pnpm workspace members of this repository, so they are linted (with their own eslint.config.ts files) by the root pnpm lint. Lint rule overrides between Template-dev-only markers silence placeholder-value errors during template development and are stripped from generated projects.

Maintainers

kitschpatrol

Acknowledgments

Thanks to Josh Goldberg for creating the Bingo template system.

Contributing

Issues are welcome and appreciated.

Please open an issue to discuss changes before submitting a pull request. Unsolicited PRs (especially AI-generated ones) are unlikely to be merged.

This repository uses @kitschpatrol/shared-config (via its ksc CLI) for linting and formatting, plus MDAT for readme placeholder expansion.

License

MIT © Eric Mika