path(路径)


稳定性: 2 - 稳定

path 模块用于处理文件与目录的路径。使用方法:

const path = require('path');

Stability: 2 - Stable

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

const path = require('path');