
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
google-speech-api
Advanced tools
Google Speech API wrapper for node. It requires ffmpeg compiled with flac support in order to work.
Switched from SoX to ffmpeg. Make sure you have at least version 0.9 of ffmpeg.
The google speech api now requires an API Key. You'll have to create an app in the Google Developers Console and enable the speech api.
To enable the speech api in the developer console you must join the chromium dev-list in google groups. See these comments for more details.
The response format has also changed. Instead of returning utterances, google now returns alternatives with a transcript. See the example below.
var speech = require('google-speech-api');
var opts = {
file: 'speech.mp3',
key: '<Google API Key>'
};
speech(opts, function (err, results) {
console.log(results);
// [{result: [{alternative: [{transcript: '...'}]}]}]
});
You can pipe data:
var request = require('superagent');
var speech = require('google-speech-api');
// must specify the filetype when piping
var opts = {filetype: 'mp3'};
request
.get('http://../../file.mp3')
.pipe(speech(opts, function (err, results) {
// handle the results
}));
You can specify several options:
string path or a Buffer object. (required)FAQs
Google Speech API wrapper for node
We found that google-speech-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.