fuzzystring
Simple fuzzy search library written in TypeScript
Alows partial matching of requested string. Useful for searching large sets of data without requesting acureate and full user input.
Demo
Install
yarn add fuzzystring
; // or if you prefer default 🤮exports;
Api
fuzzyString'liolor', 'lorem ipsum dolor sit'; // returns
Performance
console;for let i = 0; i < 100000; i++ ;console;// measure: 271.169921875ms
Development
Test
yarn test
Build
yarn build
Toodo
- Demo page
- Solid performance test
- Memoized cache for the same inputs
- CI test cov etc