url-assist
Version:
URL library at your ease
15 lines (14 loc) • 380 B
TypeScript
/**
* To normalize the format of the URL
*
* @since 1.2.6
* @category string
* @param {string} pattern Passing the completet domain url
* @param {any=} ext Passing the completet domain url
* @returns {string} Return the string.
* @example
*
* formatUrlInit('helloworld')
*=> helloworld
*/
export function formatUrlInit(pattern: string, ext?: any | undefined): string;