Installing dependencies

We are going to install only one dependency, @google-cloud/speech (https://www.npmjs.com/package/@google-cloud/speech), to interface with the Cloud Speech API. Run this command from the root of the application:

$ npm install --save @google-cloud/speechor$ yarn add @google-cloud/speech

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.