parse-pinyin 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -146,6 +146,12 @@ console.timeEnd('pinyin-pro');
|
|
|
146
146
|
| 单字符拼音转换 (10,000次) | 13.27ms | 166.45ms | 12.54x |
|
|
147
147
|
| 批量处理 (100,000字符) | ~130ms | ~1660ms | 12.77x |
|
|
148
148
|
|
|
149
|
+
### 文件大小
|
|
150
|
+
|
|
151
|
+
| parse-pinyin | pinyin-pro |
|
|
152
|
+
|-------------|------------|
|
|
153
|
+
| 229 kB | 323 kB |
|
|
154
|
+
|
|
149
155
|
|
|
150
156
|
## 浏览器使用
|
|
151
157
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-pinyin",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "一个高效的汉字拼音查询库,兼容浏览器和nodejs,提供ESM、commonjs、iife格式的构建,支持拼音反查",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"git": "read -p 'Enter commit message: ' msg && git add . && git commit -m \"$msg\" && git push"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
|
+
"parse-pinyin",
|
|
23
24
|
"pinyin",
|
|
25
|
+
"pinyin-pro",
|
|
24
26
|
"拼音",
|
|
25
27
|
"汉字",
|
|
26
28
|
"中文",
|