- Documentation refresh in README:
- clearer API docs for
useTypewriteranduseTypewriterSequence - rewritten behavior section with sequence/loop semantics
- updated badges (React peer, CI, coverage, npm metadata)
- clearer API docs for
useTypewriterSequence: avoid restarting on every render when delay options are passed as array literals.
- Build output moved from
build/todist/, and the package now uses anexportsmap. - Node support is now
>=18 <=22(engines.node).
- New hook:
useTypewriterSequence(words, options)for cycling through an array of strings with configurablepauseMsandloop. - New options for delays:
typingDelay/deletingDelay(number or[minMs, maxMs]).
- Reworked the internal typewriter engine and scheduling to avoid idle interval loops.
- Example site migrated to Vite and deploys to GitHub Pages.