title: How to read content of JSON file uploaded to google cloud storage using node js
body: <p>I manually upload the JSON file to google cloud storage by creating a new project. I am able to read the metadata for a file but I don't know how to read the JSON content.</p>
  
  <p>The code I used to read the metadata is:</p>
  
  <pre><code>var Storage = require('@google-cloud/storage');
  const storage = Storage({
      keyFilename: 'service-account-file-path',
      projectId: 'project-id'
  });
  storage
      .bucket('project-name')
      .file('file-name')
      .getMetadata()
      .then(results =&gt; {
          console.log("results is", results[0])
      })
      .catch(err =&gt; {
          console.error('ERROR:', err);
      });
  </code></pre>
  
  <p>Can someone guide me to the way to read the JSON file content?</p>