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

@zhangziheng/resume

v0.1.4

Published

Single-source resume with HTML, PDF, man, JSON, and CLI outputs.

Readme

Resume

单一内容源的简历仓库。

目标:

  • 在一个地方维护简历内容
  • 生成 HTMLPDFmanresume.json
  • 提供 npx @zhangziheng/resume 的终端入口

内容源使用 YAML + Markdown

  • content/profile.yaml
  • content/experience.yaml
  • content/skills.yaml
  • content/projects/*.md
  • content/variants/*.yaml

常用命令:

npm install
npm test
npm run validate
npm run build
npm run dev:html

构建产物输出到 dist/

本地预览开发:

  • npm run dev:htmlpnpm dev:html
  • 监听 content/scripts/renderers/site/ 变更并自动重新构建
  • dist/ 变更后浏览器自动刷新,默认地址是 http://localhost:3000

更多说明:

  • 项目流程与架构文档:docs/architecture-and-flow.md

发布说明:

  • GitHub Pages 发布目录来自 dist/
  • 自定义域名文件 CNAME 在构建时自动写入
  • npm 包名为 @zhangziheng/resume
  • 首次发布 scoped 公共包依赖 publishConfig.access = public

Makefile 发布命令:

  • make build 执行 npm testnpm run validatenpm run build:full

  • make deploy-pages 执行构建,自动提交当前改动,然后推送 main 触发 GitHub Pages 部署

  • make publish-npm-patch

  • make publish-npm-minor

  • make publish-npm-major 执行构建,自动提交当前改动,执行 npm version 升级版本并创建 tag,然后推送 main 和 tag 触发 npm 发布

  • make full-patch

  • make full-minor

  • make full-major 一条命令完成完整发布流程。由于会推送 mainv* tag,因此会同时触发 GitHub Pages 部署和 npm 发布

  • make full VERSION=patch 通用入口,等价于 make full-patch

注意:

  • 发布命令要求当前分支是 main
  • 发布命令会自动提交当前工作区改动,请先确认 git status

需要的仓库配置:

  • GitHub Pages source: GitHub Actions
  • npm Trusted Publisher with GitHub Actions OIDC