A small JS library to expressively render text.
<script src="https://cdn.jsdelivr.net/gh/dlcnine/TypeWriter@1.0.0/dist/typewriter.min.js"></script>
const tw = new TypeWriter('#target');
tw.write('the quick brown ').newLine()
.writeWords('fox jumps over', { class: 'angry'}).writeAll(' the lazy dog').wait(3000).eraseAll();
Check out the TypeWriter documentation page for details on its API.