path.posix


path.posix 属性提供对 path 方法的 POSIX 特定实现的访问。

API 可通过 require('node:path').posixrequire('node:path/posix') 访问。

The path.posix property provides access to POSIX specific implementations of the path methods.

The API is accessible via require('node:path').posix or require('node:path/posix').