Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 307 Bytes

File metadata and controls

20 lines (13 loc) · 307 Bytes

highlight-text

Highlight text case and accent insensitive.

Install

$ npm install --save highlight-text

Usage

import highlightText from 'highlight-text';
const text = highlightText('foo bla foo', 'bla');

License

MIT © Daniel Steigerwald