title: Node.js HEAD http request
body: <p>I want to just check if http file is available, how do I request only headers with Node.js?</p>
  
  <pre><code>http.head("http://domain.io", (res)=&gt;{
     console.log(res.statusCode)
  })
  </code></pre>