HOME


sh-3ll 1.0
DIR:/proc/thread-self/cwd/bright.medisavehealthcarebd.com/node_modules/levenary/
Upload File :
Current File : //proc/thread-self/cwd/bright.medisavehealthcarebd.com/node_modules/levenary/index.flow.js
declare module "levenary" {
  /**
  Return the string within `array`, whose Levenshtein distance from `str` is minimal.

	@example
	```
	import levenary from 'levenary';

	levenary('cat', ['cow', 'dog', 'pig']);
	//=> 'cow'
	```
	*/
  declare function levenary (str: string, array: string[]): string;
  declare export default typeof levenary;
}