Comparing version 2.0.7 to 2.0.8
{ | ||
"name": "pinyin2", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"root": "util", | ||
@@ -5,0 +5,0 @@ "description": "转换汉字为拼音", |
@@ -11,3 +11,3 @@ # 汉语拼音(pinyin) | ||
var pinyin = require("pinyin"); | ||
var pinyin = require("pinyin2"); | ||
@@ -14,0 +14,0 @@ pinyin("重点"); |
var pinyin = require('../index'); | ||
var result = pinyin('关节炎'); | ||
console.log(result); | ||
console.log(result.join(' ')); |
Sorry, the diff of this file is not supported yet
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
460369
0