UNPKG

highlight-text

Version:

Highlight text case and accent insensitive

21 lines (13 loc) 307 B
# highlight-text > Highlight text case and accent insensitive. ## Install ```sh $ npm install --save highlight-text ``` ## Usage ```js import highlightText from 'highlight-text'; const text = highlightText('foo bla foo', 'bla'); ``` ## License MIT © [Daniel Steigerwald](https://twitter.com/steida)