title: serving downloadable file on node.js
body: <p>I have looked everywhere but cant find a solution for this.</p>
  
  <p>I'm building a file hosting server using <strong>node.js</strong>. I want to use authenticated sessions/tokens to allow users access to downloadable files. </p>
  
  <p>I want the downloads resumable as long as the session /token is valid. An invalid session / token will require the download to start afresh.</p>
  
  <p>I dont knw what npm plugins to use or where to start.</p>
  
  <p>I'm thinking of using <a href="https://github.com/mikeal/request." rel="nofollow">Simplified HTTP request client</a></p>
  
  <p>Any ideas , links anything will be appreciated. </p>