title: How to correctly create cross platform paths with Nodejs?
body: <p>I have a project and I build path from token strings using path join e.g.</p>
  <pre><code> let myPath = path.join('root', 'path01')
  </code></pre>
  <p>Normally I develop on a POSIX dev machine so no issues at all... but
  (Unexpected) is that if I run the app on windows it will build paths backslashed</p>
  <p>And finally the app is deployed on a POSIX system so it will produce possibly wrong expectations (if starting to develop from windows)...</p>
  <p>What's the best way to treat paths with nodejs/javascript so to have them working on all platforms?</p>