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

@jet-w/astro-blog-cli

v0.3.2

Published

CLI tool for creating Astro blogs with @jet-w/astro-blog theme

Readme

@jet-w/astro-blog-cli

CLI tool for creating Astro blogs with @jet-w/astro-blog theme.

Quick Start

# Create a new blog project
npx @jet-w/astro-blog-cli my-blog

Usage

Interactive Mode

Run without options to enter interactive mode:

npx @jet-w/astro-blog-cli

You will be prompted for:

  • Project name
  • Blog title (English & Chinese)
  • Blog description (English & Chinese)
  • Author name
  • Author email
  • Site URL
  • Template selection

Non-Interactive Mode

Use -y flag to skip prompts and use defaults or provided options:

# Quick create with defaults
npx @jet-w/astro-blog-cli my-blog -y

# With custom options
npx @jet-w/astro-blog-cli my-blog -y \
  --title "My Awesome Blog" \
  --title-zh "我的博客" \
  --description "A blog about tech" \
  --description-zh "一个关于技术的博客" \
  --author "John Doe" \
  --email "[email protected]" \
  --site "https://myblog.com"

Commands

create [project-name]

Create a new Astro blog project.

npx @jet-w/astro-blog-cli my-blog

Options:

| Option | Description | Default | |--------|-------------|---------| | -t, --template <template> | Template to use | default | | --title <title> | Blog title (English) | My Astro Blog | | --title-zh <titleZh> | Blog title (Chinese) | 我的Astro博客 | | --description <description> | Blog description (English) | - | | --description-zh <descriptionZh> | Blog description (Chinese) | - | | --author <author> | Author name | Author | | --email <email> | Author email | [email protected] | | --site <site> | Site URL | https://example.com | | --lang <lang> | CLI language (en/zh) | Auto-detect | | -y, --yes | Skip prompts, use defaults | - | | -f, --force | Overwrite existing directory | - |

Examples

Create a blog with all options

npx @jet-w/astro-blog-cli my-tech-blog -y \
  --title "Tech Notes" \
  --title-zh "技术笔记" \
  --description "Personal tech blog" \
  --description-zh "个人技术博客" \
  --author "Jane Smith" \
  --email "[email protected]" \
  --site "https://jane-tech.com"

Create with Chinese CLI interface

npx @jet-w/astro-blog-cli my-blog --lang zh

Force overwrite existing directory

npx @jet-w/astro-blog-cli my-blog -y -f

After Creation

cd my-blog
npm install
npm run dev

Your blog will be running at http://localhost:4321.

Project Structure

The created project includes:

my-blog/
├── astro.config.mjs        # Astro configuration
├── package.json
├── src/
│   ├── config/
│   │   ├── site.ts         # Main site configuration
│   │   └── locales/        # i18n configurations
│   │       ├── en/         # English locale
│   │       └── zh-CN/      # Chinese locale
│   └── content.config.ts   # Content collections schema
├── content/
│   ├── posts/              # Blog posts (Markdown/MDX)
│   ├── pages/              # Static pages
│   └── slides/             # Presentation slides
└── public/                 # Static assets

Features

  • Multi-language support (i18n)
  • Markdown & MDX support
  • Code syntax highlighting
  • Mermaid diagrams
  • LaTeX math equations
  • Custom containers (tip, warning, danger, etc.)
  • RSS feed
  • Tailwind CSS styling
  • Vue.js components support

Documentation

For more information about the blog theme, visit:

License

MIT