路径


¥Path

稳定性: 2 - 稳定的

¥Stability: 2 - Stable

源代码: lib/path.js

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

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

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