// Can also be included with a regular script tag import Typed from 'typed.js'; var options = { strings: ['<i>First</i> sentence.', '& a second sentence.'], typeSpeed: 40 }; var typed = new Typed('.element', options);