1.0.6 • Published 1 year ago
react-native-google-cloud-tts v1.0.6
react-native-google-cloud-tts
A Library for google cloud based text to speech implementation
Installation
using either Yarn:
yarn add react-native-google-cloud-tts
or npm:
npm install react-native-google-cloud-tts
Usage
import {
cleanTempFolder,
setApiKey,
textToSpeech,
} from 'react-native-google-cloud-tts';
// ...
setApiKey('YOUR_API_KEY');
const result = textToSpeech('Hello World');
import { cleanTempFolder } from 'react-native-google-cloud-tts';
// ...
useeffect(() => {
cleanTempFolder();
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library