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-zeropress-theme

v0.5.1

Published

ZeroPress v0.5 starter generator

Readme

create-zeropress-theme

npm license node

ZeroPress v0.5 starter generator.

This package creates a small buildable ZeroPress starter project for the preview-data.json + theme/ workflow.


Quick Start

npx create-zeropress-theme --theme-slug my-portfolio --template portfolio
cd my-portfolio
npm install
npm run build

The build output is written to dist/.

For local preview while developing the theme:

npm run dev

Usage

create-zeropress-theme --theme-slug <slug> --template <template>

Required Options

  • --theme-slug <slug>: starter directory name and generated theme.json.slug
  • --template <template>: minimal, blog, docs, portfolio, or magazine

Other Options

  • --help, -h: show help
  • --version, -v: show package version

Templates

  • minimal: clean content-first blog starter.
  • blog: editorial blog starter with menus, widgets, posts, categories, and tags.
  • docs: compact documentation starter with pages, navigation, and page TOC.
  • portfolio: personal portfolio starter using site.meta and named collections.
  • magazine: editorial magazine starter with sectioned landing and post lists.

Each template includes a matching preview-data.json fixture. The fixture is part of the starter because different theme categories need different render data shapes.


Generated Project

my-portfolio/
  package.json
  preview-data.json
  theme/
    theme.json
    layout.html
    index.html
    post.html
    page.html
    archive.html
    category.html
    tag.html
    404.html
    partials/
    assets/

Generated package.json includes:

{
  "scripts": {
    "build": "zeropress-build ./theme --data ./preview-data.json --out ./dist",
    "dev": "zeropress-theme dev ./theme --data ./preview-data.json"
  },
  "dependencies": {
    "@zeropress/build": "0.5.2",
    "@zeropress/theme": "0.5.1"
  }
}

Generated theme/theme.json is rewritten with:

  • $schema: "https://zeropress.dev/schemas/theme.v0.5.runtime.schema.json"
  • runtime: "0.5"
  • namespace: "my-company"
  • slug and name from --theme-slug
  • version: "0.1.0"

Update namespace, name, and demo fixture content before publishing a theme.


Validation

The generated theme is validated immediately with @zeropress/theme-validator.

The package test suite also builds every bundled starter with @zeropress/build to verify that each template and fixture works together.


Requirements

  • Node.js >= 18.18.0
  • ESM-only package

Related


License

MIT