> Tiny JavaScript plugin for highlighting and replacing text in the DOM
npm install hrjs> Tiny JavaScript plugin for highlighting and replacing text in the DOM

!NPM License
``js`
npm install hrjs
or use CDN:
`html`
` Lorem ipsum dolor sit amet.html`
`html`
That's it!
You can also highlight and replace multiple keywords.
` I love JavaScript.html`
`html`
CodePen Multiple demo
To highlight only, just add your keyword to highlight option.
` Lorem ipsum dolor sit consectetur amet.html`Consectetur enim ipsam voluptatem quia
`html`
CodePen Highlight demo
⚙️ Customize
These are default options.
`js
new HR("elem", {
highlight: null,
replaceWith: null,
backgroundColor: "#FFDE70"
}).hr();
``Licensed under the MIT License.