pinyin-pro
Advanced tools
Comparing version 2.0.2 to 2.0.3
export declare const pinyin: ( | ||
word: string, | ||
options?: { | ||
toneType: 'symbol' | 'num' | 'none'; // 音调样式 | ||
pattern: 'pinyin' | 'initial' | 'final'; // 返回数据模式 | ||
type: 'string' | 'array'; // 返回数据类型 | ||
multiple: boolean; // 是否返回多音,仅在单字有效 | ||
toneType?: 'symbol' | 'num' | 'none'; // 音调样式 | ||
pattern?: 'pinyin' | 'initial' | 'final'; // 返回数据模式 | ||
type?: 'string' | 'array'; // 返回数据类型 | ||
multiple?: boolean; // 是否返回多音,仅在单字有效 | ||
} | ||
) => string | string[]; |
{ | ||
"name": "pinyin-pro", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "汉字转拼音库。获取汉字、词语、句子等内容的拼音、韵母、声母、声调等信息。", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1047747
0