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

epub-convert

v1.0.1

Published

Convert EPUB files between Traditional and Simplified Chinese with OpenCC WASM.

Readme

EPUB Convert

EPUB 的簡繁轉換線上工具。支援檔案拖放,且選擇檔案後即刻開始轉換。另外,一切都在瀏覽器中直接進行,數秒內即可完成轉換。

Screenshot

立刻體驗: https://epub.stoneapp.tech/

功能

  • 支援 EPUB 簡繁互相轉換
  • 支援一次最多 25 本 EPUB 的批次轉換,並會自動略過失敗的檔案
  • 支援各地區用語轉換
  • 開啟用語轉換時,可開啟 jieba 斷詞以提升轉換品質
  • 支援自訂字典,可在瀏覽器中儲存,也可以 JSON 匯入或匯出
  • 支援 PWA 安裝,使用過的轉換模式可離線載入
  • 支援 command line 使用,也支援平行轉換

如何使用

Web

因為使用了 Worker 與 WASM,檔案必須透過網頁伺服器 (http(s)://) 才能使用,不能直接打開 index.html (file://)。

以下使用 Python 內建的 http.server 為例,在專案根目錄執行以下指令:

python -m http.server 8000

即可在本機的 http://localhost:8000 存取此工具。

Command-Line

需要 Node.js 18 或更新版本。

此 command line 版本使用與 Web 版相同的 OpenCC WASM 轉換引擎。可以直接透過 npx epub-convert 來使用此工具。
或是下載此專案後透過 npm run convert執行,需要先安裝 npm 套件:

npm ci

可將檔名作為參數,預設會轉換到原檔案相同的資料夾:

npx epub-convert --mode s2twp --jieba --jobs 4 book1.epub book2.epub

也可以指定資料夾,會轉換該資料夾第一層的所有 .epub 檔案:

npx epub-convert --mode t2s --jobs 2 --output-dir converted books/

使用 --dictionary(或 -d)套用自訂詞典。 純文字字典的格式與網頁相同,每行一組來源詞跟目標詞,用空白隔開。或是也可以直接使用 Web 版匯出的 JSON。
另外,選項可重複使用以合併多個檔案:

npx epub-convert -d terms.txt --dictionary names.json books/

其他參數的完整說明,可以參閱 npx epub-convert --help。

更新第三方套件

npm ci
npm run vendor:update

第三方套件

第三方套件之開放原始碼授權請見 THIRD_PARTY_NOTICES.md

授權

MIT