@hv-kit/hexpress
Version:
facilitates typescript backend development with express
26 lines • 1.49 kB
TypeScript
export declare function RandomIdentifier(size?: number, type?: 'alphanumeric' | 'alphanumeric_s' | 'alphabetical' | 'alphabetical_s' | 'numeric', fixedSize?: boolean, formatting?: (data: string) => string): string;
export declare function RandomF(size?: number, type?: 'alphanumeric' | 'alphanumeric_s' | 'alphabetical' | 'alphabetical_s' | 'numeric', fixedSize?: boolean, formatting?: (data: string) => string): string;
export declare function UcFirst(value: any): string;
export declare function Upper(value: any): string;
export declare function Lower(value: any): string;
export declare function Capitalize(value: any): string;
export declare function ArrayToRegExp(values: any[]): RegExp;
export declare function SearchForFind(value: string | undefined): string[];
export declare function StringReplace(content: string, params: any): string;
export declare function getAlphanumString(val: string, word?: string): string;
export declare function getKeyword(word: any): any;
declare const _default: {
RandomIdentifier: typeof RandomIdentifier;
RandomF: typeof RandomF;
UcFirst: typeof UcFirst;
Upper: typeof Upper;
Lower: typeof Lower;
Capitalize: typeof Capitalize;
ArrayToRegExp: typeof ArrayToRegExp;
SearchForFind: typeof SearchForFind;
StringReplace: typeof StringReplace;
getAlphanumString: typeof getAlphanumString;
getKeyword: typeof getKeyword;
};
export default _default;
//# sourceMappingURL=string.d.ts.map