title: How to write a file to Google Cloud Storage directly without saving it in my application?
body: <p>I am trying to write an HTML file into Google Cloud Storage without saving the file in my node application. I need to create a file and immediately upload to the Cloud Storage.
  I tried using <code>fs.writeFileSync()</code> method, but it creates the file in my application and I  do not want that.</p>
  
  <pre><code>const res = fs.writeFileSync("submission.html", fileData, "utf8");
  GCS.upload(res, filePath);
  </code></pre>
  
  <p>I expect to save an HTML file in the Cloud Storage directly. Could you please recommend the right approach to me?</p>