To get started, make sure you are working on the latest code or get a copy from https://github.com/PacktPublishing/Getting-Started-with-Google-Cloud-AI-Services and then install the required dependencies by running the following:
$ npm install
or
$ yarn install
Once this is done, we will proceed further. In this chapter, we are going to use the Node.js client library for interacting with the translation API.