From c692b519eea336d7fc091789fe9f8dba85666091 Mon Sep 17 00:00:00 2001 From: yuxino Date: Sun, 27 Sep 2026 21:27:14 +0800 Subject: [PATCH] docs: add useful project badges to READMEs --- README.md | 7 +++++++ README_en.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 0128cb0..ea6a57e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@

汉字转拼音首字母,支持中文搜索。

在线试一试 · npm · 反馈问题

简体中文 · English

+

+ npm 版本 + npm 每月下载次数 + 内置 TypeScript 类型 + main 分支 CI 状态 + MIT 许可证 +

Pyfl 是一个 JavaScript / TypeScript 库,可以把「你好」转换为 `NH`,用于标题、通讯录和搜索索引。转换在本地完成,没有运行时依赖。现代入口支持词组规则和多读音搜索;默认入口保留原有字表,已有项目可以继续使用。 diff --git a/README_en.md b/README_en.md index 6c56f55..a937f98 100644 --- a/README_en.md +++ b/README_en.md @@ -4,6 +4,13 @@

Convert Chinese text to pinyin initials for search.

Try it online · npm · Report an issue

简体中文 · English

+

+ npm version + npm downloads per month + TypeScript types included + CI status on main + MIT license +

Pyfl is a JavaScript / TypeScript library that converts Chinese text such as 你好 to pinyin initials such as `NH`, for use in titles, contact lists, and search indexes. Conversion runs locally with no runtime dependencies. Modern entries support phrase rules and searches across alternative pronunciations. The default entry keeps the original dictionary for existing projects.