react-native-gtts-lite
v1.0.7
Published
🎙️ Lightweight Google Translate TTS for React Native CLI using react-native-fs and react-native-sound.
Downloads
43
Maintainers
Readme
react-native-gtts-lite
🎙️ A lightweight utility to convert text to speech in React Native CLI apps using Google Translate TTS.
Install
npm install react-native-gtts-lite
npx react-native link react-native-fs
npx react-native link react-native-soundUsage:
import { playTTS } from 'react-native-gtts-lite';
playTTS('Hello Lokanath!', 'en');
Feel free to connect me on [email protected]
⚠️ Note
- This uses Google's unofficial TTS endpoint.
- No authentication needed, but use responsibly to avoid IP blocks.
- Supports many languages using language codes like
en,hi,fr, etc.
📜 License
MIT
