pinyin-pro
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "pinyin-pro", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "中文汉字词语拼音转换库。获取汉字、词语、句子等内容的拼音、韵母、声母、声调等信息。", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
# 获取汉字、词语、句子的拼音(可选带音调)、韵母、声母等功能。是一个体积最小但功能最丰富的汉字转换拼音 npm 包。 | ||
--- | ||
[![NPM version][npm-badge]][npm-url] | ||
可以获取汉字、词语、句子等中文的带声调拼音、不带声调拼音、韵母、声母等。是专业的、功能最丰富的中文汉字转换拼音库。 | ||
@@ -76,3 +80,3 @@ | ||
// 获取数组形式的不带音调韵母 | ||
pinyin('汉语拼音', { pattern: 'final', tone: false }); // ['an', 'u', 'in', 'in'] | ||
pinyin('汉语拼音', { pattern: 'final', tone: false, type: 'array' }); // ['an', 'u', 'in', 'in'] | ||
``` | ||
@@ -79,0 +83,0 @@ |
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
1033897
103