cosmic-interchain-utils
Version:
Cosmic Interchain Utils
10 lines • 638 B
TypeScript
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
export declare function toTitleCase(str: 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