cnchar-types
Advanced tools
Comparing version 3.2.3 to 3.2.4
{ | ||
"name": "cnchar-types", | ||
"main": "index.d.ts", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"description": "功能全面、多端支持的汉字拼音笔画 js 库", | ||
@@ -6,0 +6,0 @@ "typings": "index.d.ts", |
@@ -0,1 +1,6 @@ | ||
/* | ||
* @Author: chenzhongsheng | ||
* @Date: 2022-10-09 09:18:54 | ||
* @Description: Coding something | ||
*/ | ||
import {Json} from '../../main/common'; | ||
@@ -16,2 +21,3 @@ import {ICnChar} from '../../main'; // ! important for declare module '../../main/index' | ||
gbk: string; | ||
fiveStroke: string; | ||
} | ||
@@ -21,10 +27,11 @@ export interface ICode { | ||
// 解码时 word传入code 请以空格分割 | ||
binary(word: string, decoce?: boolean): string; | ||
char(word: string, decoce?: boolean): string; | ||
unicode(word: string, decoce?: boolean): string; | ||
url(word: string, decoce?: boolean): string; | ||
gbk(word: string, decoce?: boolean): string; | ||
sijiao(word: string, decoce?: boolean): string; | ||
cangjie(word: string, decoce?: boolean): string; | ||
uniform(word: string, decoce?: boolean): string; | ||
binary(word: string, decode?: boolean): string; | ||
char(word: string, decode?: boolean): string; | ||
unicode(word: string, decode?: boolean): string; | ||
url(word: string, decode?: boolean): string; | ||
gbk(word: string, decode?: boolean): string; | ||
sijiao(word: string, decode?: boolean): string; | ||
cangjie(word: string, decode?: boolean): string; | ||
uniform(word: string, decode?: boolean): string; | ||
fiveStroke(word: string, type?: '86'|'98'|'all'): string[]; | ||
setCode(words: string | Json<IDictCodeResult>, data?: IDictCodeResult): void; | ||
@@ -31,0 +38,0 @@ dict: {code: Json<string>}; |
Sorry, the diff of this file is too big to display
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
107999
973
1989