TypeIt is the most versatile JavaScript tool for creating typewriter effects on the planet. With a straightforward configuration, it allows you to type single or multiple strings that break lines, delete & replace each other, and it even handles strings that contain complex HTML.
See usage guide: www.wpcraft.blogspot.com/2020/12/typewriter-effects-using-most-versatile.html
www.wpcraft.blogspot.com