Provide access to win32 and posix path operations; sourced directly from upstream Node.js
npm install path-platform
yarn add path-platform
pnpm add path-platform
bun add path-platform
This is a transitional package for those not on 0.12 that provides a compatible interface to the builtin path module, but adds path.posix and path.win32 so you can path.posix.normalize on a win32 platform, or vice versa.
path
path.posix
path.win32
path.posix.normalize