Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 307 Bytes

README.md

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