bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
34 lines (33 loc) • 735 B
text/typescript
/**
* @param str
* @returns
*/
export declare const startCase: (str: string) => string;
/**
* @param str
* @returns
*/
export declare const titleCase: (str: string) => string;
/**
* Uppercases the first letter of a string and returns a new string
*
* @param str
* @returns
*/
export declare const upperFirst: (str: string) => string;
/**
* Escapes a string for RegExp usage.
*
* @param str
* @returns
*/
export declare const escapeRegExp: (str: string) => string;
/**
* Escapes special chars in string and replaces
* contiguous spaces with a whitespace match
*
* @param str
* @returns
*/
export declare const escapeRegExpChars: (str: string) => string;
export declare const toPascalCase: (str: string) => string;