https://github.com/mattboldt/typed.js.git docker code example
Example 1: typed js
yarn add typed.js
// or
npm install typed.js
// or
bower install typed.js
// in js file:
import Typed from 'typed.js';
const options = {
strings: ['<i>First</i> sentence.', '& a second sentence.'],
typeSpeed: 40
};
const typed = new Typed('.element', options);
Example 2: typedjs
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>