Question: What's the difference between this and path/posix?
codepunkt opened this issue · comments
When using pathe
on node, what's the difference between this and just importing from path/posix
?
Hi @codepunkt. This library is fully standalone from Node.js and also handles windows paths. While node:path/posix
lefts them intact or often unhandled.
Thanks Pooya! I'm not exactly sure what "handles windows paths" means here.
Nodejs path docs says "To achieve consistent results when working with Windows file paths on any operating system, use path.win32. To achieve consistent results when working with POSIX file paths on any operating system, use path.posix"
Does this mean pathe
helps get consistent results when working with Windows or POSIX file paths on any operating system, so basically the best of both worlds?