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

wangmiao-pet-game

v1.0.24

Published

离线单机宠物养成 CLI 游戏

Downloads

2,678

Readme

wangmiao Pet Game CLI

在终端里养一只真正会成长、会战斗、会陪你的宠物。
A terminal pet that grows, fights, equips gear, and stays with you.

No account. No server. No online requirement. Install and play immediately.
不需要联网,不需要账号,安装后直接开玩。


安装 / Install

npm install -g wangmiao-pet-game
# or / 或
pnpm install -g wangmiao-pet-game

启动命令 / Commands

wm          # 开始游戏 / start game
wm p        # 开始游戏 / start game
wm -v       # 显示版本 / show version
wm -h       # 显示帮助 / show help

Full commands / 完整命令:

wangmiao-pet-game              # start game / 开始游戏
wangmiao-pet-game play         # start game / 开始游戏
wangmiao-pet-game --version    # show version / 显示版本
wangmiao-pet-game --help       # show help / 显示帮助

现在能玩到什么 / What's In The Game

  • 28 种宠物:十二生肖系列 + 可爱萌宠系列 / 28 pet species
  • 6 档稀有度:普通、稀有、SR、史诗、传说、神话 / 6 rarity tiers
  • 64 个技能:普攻、主动、增益、减益、治疗、被动、大招 / 64 skills
  • 38 种野怪 / 38 monsters
  • 6 个每日 Boss、3 个周本 Boss、4 个等级 Boss
  • 6 套遗器、7 把光锥 / 6 relic sets, 7 light cones
  • 6 个副本(T1-T10 分层)/ 6 dungeon types with T1-T10 tiers

玩法 / Gameplay

  • 随机获得初始宠物并命名 / Start with a random pet and name it
  • 喂食 Feed — 提升经验、亲密度和心情 / EXP, intimacy, mood
  • 训练 Train — 消耗训练券,快速提升经验 / Fast EXP with training tickets
  • 聊天 Chat — 根据性格、心情、时段触发不同回应 / Responses vary by personality, mood, and time
  • 战斗 Battle — 普通、训练、精英、连续、Boss 战 / Normal, training, elite, chain, boss
  • 副本挑战 Dungeons(T1-T10 分层)
    • 💠 遗器秘境 Relic Realm — 掉落遗器 / drops relics
    • 🌟 光锥塔 Light Cone Tower — 掉落光锥核心,有概率直掉光锥 / cores + chance to drop a light cone
    • 💰 金币矿场 Gold Ruins — 专注产出金币 / gold farming
    • 📖 经验秘境 EXP Ruins — 专注产出经验 / EXP farming
    • 📚 技能书副本 Skill Ruins — 专注产出技能书 / skill book farming
    • 🧱 综合材料副本 Material Ruins — 进化材料、突破材料 / evolution & breakthrough mats
  • 装备系统 Equipment
    • 遗器 Relics:6 个部位,主属性 + 副词条 + 套装效果 / 6 slots, main stats, sub-stats, set bonuses
    • 光锥 Light Cones:每只宠物 1 把,属性 + 特殊被动 / 1 per pet, stats + passive
    • 光锥核心可随机铸造或定向兑换 / cores for random forge or direct exchange
  • 每日系统 Daily — 签到、首次互动奖励、每日战斗任务 / check-in, first-action rewards, daily missions
  • 商店 Shop — 补给、遗器、光锥、Boss 兑换、神秘商人 / supply, relic, LC, boss exchange, mystery merchant
  • 祈福 Fortune — 程序员终端黄历 × 宠物日签,每日 4:00 重置 / daily terminal almanac, resets at 4:00 AM
  • 挂机收益 Offline — 离线最长结算 8 小时 / up to 8 hours offline rewards
  • 进化 Evolution — 普通 → 稀有 → SR → 史诗 → 传说 → 神话 / Common → Rare → SR → Epic → Legendary → Mythic

宠物工具技能 / Pet Utility Skills

| 技能 / Skill | 说明 / Description | |---|---| | 🕐 时间 Time | 查看当前时间 / Show current time | | 🧮 计算器 Calculator | 支持 + - * / ( ) % | | 📈 股票 Stocks | 自选股实时行情 / Real-time watchlist | | 🔥 热搜 Hot News | 微博、抖音、B站、GitHub 等 18 个平台 / 18 platforms | | 📍 定位与天气 Location & Weather | IP 定位 + 实况天气 + 逐日预报 / IP location + live weather |


新手装备礼包 / Starter Equipment Gift

进入 / Open: 设置 Settings → 输入兑换码 Redeem Code

输入 / Enter:

开局装备礼包

可领取 / You get:

  • 3 星基础遗器一整套(6 件)/ One full 3-star starter relic set (6 pieces)
  • 3 星基础光锥「旅途起点」/ One 3-star starter light cone

此兑换码终生一次 / This code can only be redeemed once per lifetime.


存档 / Save Data

~/.pet-cli/save.json
wm save-path    # 查看存档路径 / show save path
wm reset        # 重置存档 / reset save and start over

卸载 / Uninstall

npm uninstall -g wangmiao-pet-game
# or / 或
pnpm remove -g wangmiao-pet-game

存档文件不会自动删除,如需彻底清除请手动删除 ~/.pet-cli/save.json
Your local save file is not removed automatically. Delete ~/.pet-cli/save.json to fully clean up.