node:path

Node's POSIX and Windows path module.

node:path, node:path/posix, and node:path/win32 match Node on every host, including matchesGlob.