@types/gbk.js
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/gbk.js

      Weekly Downloads

      50

      Version

      0.3.2

      License

      MIT

      Unpacked Size

      3.13 kB

      Total Files

      5

      Last publish

      Collaborators

      • types