@visulima/cerebro
Version:
A delightful toolkit for building cross-runtime CLIs for Node.js, Deno, and Bun.
9 lines (8 loc) • 350 B
TypeScript
/**
* Finds strings in an array that are similar to the given string.
* @param string The target string to match against
* @param array Array of candidate strings to search
* @returns Array of similar strings from the input array
*/
declare const findAlternatives: (string: string, array: string[]) => string[];
export default findAlternatives;