Installation
npm install --save @types/gbk.js
Summary
This package contains type definitions for gbk.js (https://github.com/cnwhy/GBK.js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gbk.js.
index.d.ts
export function encode(str: string): number[];
export function decode(bytes: number[]): string;
export namespace URI {
function encodeURI(str: string): string;
function decodeURI(str: string): string;
function encodeURIComponent(str: string): string;
function decodeURIComponent(str: string): string;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by mkchung.