fs 文件系统
Stability: 2 - Stable
Source Code: lib/fs.js
The fs
module enables interacting with the file system in a
way modeled on standard POSIX functions.
To use this module:
const fs = require('fs');
All file system operations have synchronous, callback, and promise-based forms.