highlight-words (npm): Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Keywords: string|search|highlight|regex|javascript|typescript