@kodepandai/node-input-validator
Version:
validation library for nodejs, inspired by laravel.
8 lines (7 loc) • 493 B
TypeScript
export declare function camelCaseToSentance(str: string): string;
export declare function snakeCaseToSentance(str: string): string;
export declare function kebabCaseToSentance(str: string): string;
export declare function replaceAll(str: string, replaceWhat: string, replaceWith: string): string;
export declare function trim(string: string, char?: string): string;
export declare function sizeToBytes(inputSize: string): number;
export declare function isHexadecimal(value: string): boolean;