path 路径


稳定性: 2 - 稳定

源代码: lib/path.js

node:path 模块提供了用于处理文件和目录的路径的实用工具。 可以使用以下方式访问它:

const path = require('node:path');

Stability: 2 - Stable

Source Code: lib/path.js

The node:path module provides utilities for working with file and directory paths. It can be accessed using:

const path = require('node:path');