Node.js API Reference
Node.js API Reference 面向后端服务、脚本自动化、CLI 工具和部署排错,重点整理 Node 核心模块的常用写法。每页都给出 ESM 示例,并说明 CommonJS 对应写法。
核心模块
- fs
- fs.readFile
- fs.writeFile
- path
- url
- http
- https
- crypto
- stream
- events
- buffer
- process
- child_process
- worker_threads
- cluster
Node.js API Reference 面向后端服务、脚本自动化、CLI 工具和部署排错,重点整理 Node 核心模块的常用写法。每页都给出 ESM 示例,并说明 CommonJS 对应写法。