title: How do I create a RAM disk using Node.js?
body: <p>I would like to create a RAM disk programmatically using Node.js, no matter what the underlying OS is (OS X, Linux and Windows should be supported).</p>
  
  <p>What is the best way to achieve this?</p>
  
  <p>Of course I can run a command as a child process, but I would need to write this code individually for each OS. For obvious reasons I'd like to avoid this.</p>
  
  <p>Is there a better approach (even a module that does it would be fine)?</p>