gspeak and gTTS.js
These are competitors, as both are modern Node.js/TypeScript libraries for accessing Google Text-to-Speech, offering similar functionality with one being a port of the Python gTTS library and the other a new implementation.
About gspeak
GlobalTechInfo/gspeak
Google Text to Speech for Node.js — modern, typed, zero deprecated dependencies.
About gTTS.js
hubendubler/gTTS.js
A Promise based Node.js/TypeScript port of the gTTS Google-Text-To-Speech python library
Leverages Google's unofficial text-to-speech API to generate and save audio files directly from Node.js/TypeScript applications with language detection and multi-language support. The library abstracts the HTTP communication with Google's servers, handling request formatting and audio stream processing to output MP3 files. Designed for server-side automation workflows where TTS generation needs to be integrated into backend services or CLI tools.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work