Skip to content

avivshafir/node-google-text-to-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Node Module is no longer maintained!

==========================

node-google-text-to-speech

Google Text-To-Speech for node.js

A small library for translating text-to-speech service for google.

Installation

npm install node-google-text-to-speech --save

Usage

  var tts = require('node-google-text-to-speech')

  tts.translate('en', 'dog', function(result) {
  	console.log(result); 
  	if(result.success) { //check for success
  		var response = { 'audio' : result.data };
  		socket.emit('ttsResult', response); //emit the audio to client
  	}
  });

Release History

  • 0.1.0 Initial release

About

Google Text-To-Speech for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published