路径


【Path】

源代码: 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');import path from 'node:path';