UNPKG

validify-string

Version:

Ensure accurate and secure input with our reliable string validation library.

7 lines (6 loc) 440 B
export declare const isBase32: (str: string) => boolean; export declare const isBase64: (str: string) => boolean; export declare const isEthereumAddress: (address: string) => boolean; export declare function isStringWithoutSpecialCharacters(inputString: string): boolean; export declare function startsWithPrefix(input: string, prefix: string): boolean; export declare function endsWithSuffix(inputString: string, suffix: string): boolean;