UNPKG

@rashedmakkouk/dev-utils

Version:
10 lines (9 loc) 271 B
/** * Extracts the first character from the first and last words in a string. * * Splits at: white space, comma, dot, pipe, underscore, dash. * * @returns Extracted characters as string. */ declare function initials(text?: string): string; export default initials;