Package Exports
- google-tts-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (google-tts-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
google-tts
Google TTS (Text-To-Speech) for node.js
Installation
$ npm install google-tts-api --save
Usage
var googleTTS = require('google-tts-api');
googleTTS('Hello World', 'en', 1) // speed normal = 1 (default), slow = 0.24
.then(function (url) {
console.log(url); // https://translate.google.com/translate_tts?...
})
.catch(function (err) {
console.error(err.stack);
});
License
MIT