tiny-paths path for platforms without path npm install tiny-path Usage const path = require('tiny-paths') path.join('foo', 'bar') // foo/bar on posix, foo\bar on windows License Apache-2.0