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

reader-shell

v1.0.5

Published

一个基于 Node.js 的终端电子书阅读器,支持导入 epub 文件、记住阅读进度、快捷键翻页。

Readme

终端电子书阅读器

一个基于 Node.js 的终端电子书阅读器,支持导入 epub 文件、记住阅读进度、快捷键翻页。

reader-shell-demo.gif?raw=true

功能特性

  • 支持导入 epub 电子书
  • 记住每本书的阅读进度(包括章节和章节内滚动位置)
  • 支持快捷键翻页、章节内滚动
  • 支持老板键一键隐藏内容
  • 纯终端操作,跨平台

安装依赖

npm install

使用方法

node src/ui.js <你的电子书.epub>

例如:

node src/ui.js ./books/三体.epub

快捷键说明

  • e:下一章
  • w:上一章
  • s:章节内向上滚动
  • d:章节内向下滚动
  • a:老板键(快速隐藏/恢复内容)
  • qCtrl+C:退出阅读器

进度存储

  • 阅读进度会自动保存在 progress.json 文件中,每本书独立记录。
  • 记忆内容包括:当前章节、章节内滚动位置。

常见问题

  • 中文乱码:已内置 HTML 实体解码和编码处理,绝大多数 epub 可正常显示中文。
  • 终端不显示中文:请确保终端编码为 UTF-8,并使用支持中文的字体。

依赖说明

许可协议

MIT