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 🙏

© 2025 – Pkg Stats / Ryan Hefner

fixit-cli

v1.3.0

Published

A cli tool for FixIt theme.

Downloads

234

Readme

FixIt CLI

NPM version

👉 中文 | English

🛠️ 一个基于 Node.js 开发的用于 FixIt 站点初始化的脚手架工具。

asciicast

系统依赖

如果你使用 Hugo 模块 功能加载主题,你还需要安装 Go

使用

使用 pnpx 或者 npx 直接运行 fixit-cli,创建一个新的 FixIt 项目会非常方便,当然你也可以全局安装 fixit-cli,然后使用 fixit 命令。

例如,创建一个名为 my-blog 的站点:

pnpx fixit-cli create my-blog

更多用法请参考下面的帮助信息:

pnpx fixit-cli -h
Usage: fixit <command> [options]

=============================================

        ▄████  ▄█     ▄  ▄█    ▄▄▄▄▀
        █▀   ▀ ██ ▀▄   █ ██ ▀▀▀ █
        █▀▀    ██   █ ▀  ██     █
        █      ▐█  ▄ █   ▐█    █
         █      ▐ █   ▀▄  ▐   ▀
          ▀        ▀
              fixit-cli v1.2.1
         A cli tool for FixIt theme.

=============================================

FixIt is a clean, elegant but advanced blog theme for Hugo
built with love by Lruihao and his friends.

Complete documentation is available at https://fixit.lruihao.cn/.

Options:
  -v, --version              output the version number
  -h, --help                 display help for command

Commands:
  create|new [project-name]  create a new FixIt project/component from a template
  check                      check the latest version of FixIt theme
  help [command]             display help for command

开发

安装依赖项:

pnpm install

在开发模式下运行 CLI:

pnpm start -h

将包链接/取消链接到全局包目录:

pnpm link
pnpm unlink fixit-cli

从本地路径全局安装/卸载包:

pnpm add -g path/to/fixit-cli
pnpm remove -g fixit-cli

TODO List

  • [ ] 检查是否安装 Hugo,没有安装,可通过 Node 包安装 hugo-bin/hugo-extended
  • [ ] 执行 fixit check 命令后,获取到新版本后,提示是否更新
  • [ ] 新增 fixit add 命令,用于添加新的 FixIt 主题组件(fixit create 命令增加主题组件选项)

相关项目

本 CLI 工具是基于以下项目开发的:

作者

Lruihao