Path(编辑中...)
2019-01-23 本文已影响0人
1e6c2b3901b0
提供了用于处理文件和文件夹路径的实用工具集:
const path = require('path');
1. Windows vs. POSIX
path模块的操作结果由于所运行的操作系统会产生不同的结果
Specifically, when running on a Windows operating system, the path module will assume that Windows-style paths are being used.