New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-google-text-to-speech

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-google-text-to-speech

Google TTS(Text-To-Speech) for node.js

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
7
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

google-tts

FAQs

Package last updated on 28 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts