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.