We are going to install only one dependency, @google-cloud/translate (https://www.npmjs.com/package/@google-cloud/translate), to interface with the Translation API. Run this command from the root of the application:
$ npm install --save @google-cloud/translate
or
$ yarn add @google-cloud/translate