A zero dependency micro library for wrapping words with HTML tags.
Install from npm:
npm i wordup
window.onload = () => {
const context = document.querySelector('.content')
const wu = new WordUp(context)
wu.init()
}
Released under the MIT license by Justin Williams.