@types/convert-string
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Installation

npm install --save @types/convert-string

Summary

This package contains type definitions for convert-string (https://github.com/baz/foo).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/convert-string.

index.d.ts

export namespace convertString {
    function stringToBytes(str: string): number[];
    function bytesToString(bytes: number[]): string;

    namespace UTF8 {
        function stringToBytes(str: string): number[];
        function bytesToString(bytes: number[]): string;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Haseeb Majid.

Dependents (0)

Package Sidebar

Install

npm i @types/convert-string

Weekly Downloads

556

Version

0.1.3

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types