node-google-tts-api
Simple node.js library for google text to speech service
Installation
npm i node-google-tts-api
Usage
const googleTTS = ;const tts = ; const fs = ; tts;
Text length limit
Google forbids sending text over 200 characters - which is not very cool. Therefore, a bypass was made:
tts;
Supported languages
Google text to speech service supports the following language codes:
https://github.com/IldarSham/node-google-tts/blob/master/supported-languages.txt