DoesMatch demo

DoesMatch is a small lib for matching text searches by relevance.


This is the call to doesMatch used in this demo:

          
            let matchResult = doesMatch(song.title, search, {
              highlightMatches: true,
              highlightStart: '<strong><u>',
              highlightEnd: '</u></strong>',
            });
            // returns relevance score and title with highlighted parts
          
        
Fork me on GitHub