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-jant

v1.1.0

Published

Create a new Jant project

Readme

create-jant

Scaffold a new Jant site for Cloudflare Workers.

Usage

# npm
npm create jant@latest my-site

# pnpm
pnpm create jant@latest my-site

# yarn
yarn create jant my-site

# the current directory
npm create jant@latest .

# interactive mode
npm create jant@latest

The argument is a directory, and can be a path such as ../sites/blog. package.json, the Worker, the D1 database, and the R2 bucket are named after it: My Blog becomes my-blog. A directory that already holds files other than .git, .DS_Store, editor settings, or a LICENSE is refused.

What It Does

The scaffold:

  • creates a Cloudflare Workers project wired for Jant
  • generates a local .dev.vars file with a secure AUTH_SECRET
  • installs dependencies by default
  • with pnpm, pins packageManager to the pnpm version that ran it and approves the install scripts of better-sqlite3, esbuild, and workerd in pnpm-workspace.yaml
  • with Yarn 2 or later, pins packageManager to the Yarn version that ran it, installs into node_modules instead of Plug'n'Play (.yarnrc.yml), and approves the same install scripts in dependenciesMeta
  • with pnpm or yarn, makes the GitHub Actions deploy workflow install with that package manager instead of npm, through Corepack for Yarn 2 or later
  • initializes a git repository by default, unless the directory is already inside one
  • can switch the storage template to S3-compatible storage with --s3

Options

create-jant [directory] [options]

directory      Directory to create the project in, . for the current directory (default: my-jant-site)
--s3           Use S3-compatible storage instead of Cloudflare R2
--no-install   Skip dependency installation
--no-git       Skip git initialization
-y, --yes      Skip prompts and use defaults

After Scaffolding

cd my-site
npm run dev

Open http://localhost:3000.

Need another local port?

PORT=3030 npm run dev

What the New Project Includes

  • Cloudflare Workers runtime
  • D1 for the database
  • R2 for media by default
  • Drizzle ORM
  • better-auth
  • Tailwind CSS v4 and BaseCoat
  • Lingui for localization
  • Jant's CLI commands through the local jant binary

Documentation

License

AGPL-3.0-or-later