Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cnchar-types

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnchar-types - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc