UNPKG

@hyperlane-xyz/utils

Version:

General utilities and types for the Hyperlane network

11 lines 704 B
/// <reference types="node" resolution-mode="require"/> /// <reference types="node" resolution-mode="require"/> export declare function toTitleCase(str: string): string; export declare function toUpperCamelCase(string: string): string; export declare function sanitizeString(str: string): string; export declare function trimToLength(value: string, maxLength: number): string; export declare function streamToString(stream: NodeJS.ReadableStream): Promise<string>; export declare function errorToString(error: any, maxLength?: number): string; export declare const fromHexString: (hexstr: string) => Buffer; export declare const toHexString: (buf: Buffer) => string; //# sourceMappingURL=strings.d.ts.map