UNPKG

typing-flow

Version:

Npm package for typing animation for web

15 lines (14 loc) 235 B
const i = (...n) => { if (n.length < 1) return null; for (let t = 0; t < n.length - 1; t++) { const e = n[t], r = n[t + 1]; e.on("finish", () => { r.start(); }); } return n[0]; }; export { i as chain };