TypewriterJS
JavaScript library that types out and deletes text on a web page with a typewriter effect, with a React component in the same package.
TypewriterJS types text into a page element one character at a time and deletes it again, running a queue of typed, pasted, deleted and paused steps. The npm package holds the core library and a React component that wraps it, and the component passes its typewriter instance to an init callback so the core API can be called from React code.
Strings that contain HTML tags are added as real elements. The README says such strings and the cursor option are added with innerHTML, and a parseHTML option turns the parsing off.
Worth knowing
The package also ships a command line tool that plays the effect in a terminal or records it as a GIF, and that tool needs Node.js 24 or newer. The README says sites and apps that install the package can use any Node.js version.
Identity
- Status
- Active
- Maintainer
- Tameem Safi2
- Maintained by
- Individual
- First release
- 20174
Rendering and deploy
- Install with
- npm, script tag from a CDN3
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/tameemsafi/typewriterjs - 2026-11-16: Maintainer, License, License model
raw.githubusercontent.com/tameemsafi/typewriterjs/main/LICENSE - 2026-11-16: Categories, Install with
raw.githubusercontent.com/tameemsafi/typewriterjs/main/README.md - 2026-11-16: First release
api.github.com/repos/tameemsafi/typewriterjs/commits/v1.0.0 - 2026-11-16: Current major version
registry.npmjs.org/typewriter-effect/latest - 2026-11-16: Last release
registry.npmjs.org/typewriter-effect - 2026-11-16: Contributors
api.github.com/repos/tameemsafi/typewriterjs/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typewriter-effect - 2026-11-16: Downloads a month, Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typewriter-effect