google-tts and gTTS.js

These are competitors—both provide Node.js wrappers around Google's Text-to-Speech API, so developers would typically choose one or the other based on maintenance status and API preferences rather than using them together.

google-tts
48
Emerging
gTTS.js
39
Emerging
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 22/25
Maintenance 0/25
Adoption 9/25
Maturity 18/25
Community 12/25
Stars: 286
Forks: 59
Downloads: —
Commits (30d): 0
Language: JavaScript
License: MIT
Stars: 5
Forks: 1
Downloads: 134
Commits (30d): 0
Language: TypeScript
License: MIT
Stale 6m No Package No Dependents
Stale 6m

About google-tts

zlargon/google-tts

Google TTS (Text-To-Speech) for node.js

Provides both URL generation and Base64 audio encoding across 100+ languages with configurable speech speed. Handles text longer than 200 characters by intelligently splitting on punctuation marks and generating chunked audio responses. Supports regional Google Translate endpoints and includes TypeScript definitions for type-safe integration.

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work