react-native-gtts-lite
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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-sound

Usage:

import { playTTS } from 'react-native-gtts-lite';

playTTS('Hello Lokanath!', 'en');

Feel free to connect me on melokanath@gmail.com

⚠️ 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

Package Sidebar

Install

npm i react-native-gtts-lite

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

9.77 kB

Total Files

8

Last publish

Collaborators

  • melokanath