/** * @module transforms */ /** * * Condense a provided string into a 2 or 3 letter acronym using the following rules * - If there is only a single word return the first 3 letters * - If there are more than 3 words filter out articles, conjunctions and short prepositions * * @param title The string to convert to an acronym * @return Returns the acronym string * * @example * ```typescript * * const acronym = getAcronym('Empire Strikes Back') // => 'ESB' * ``` * */ export default function getAcronym(title: string): string;