Node.js File System Complete Reference
Node.js File System module is used to handle file operations like creating, reading, deleting, etc. Node.js provides an inbuilt module called FS (File System). Node.js gives the functionality of file I/O by providing wrappers around the standard POSIX functions. All file system operations can have synchronous and asynchronous forms depending upon user requirements.
The Complete NodeJS File System are listed below:
- Node.js File System
- Node.js fs.readFile() Method
- Node.js fs.exists() Method
- Node.js fs.existsSync() Method
- Node.js fs.mkdir() Method
- Node.js fs.truncate() Method
- Node.js fs.renameSync() Method
- Node.js fs.rmdir() Method
- Node.js fs.stat() Method
- Node.js fs.mkdtempSync() Method
- Node.js fs.realpath() Method
- Node.js fs.open() Method
- Node.js fs.mkdirSync() Method
- Node.js fs.statSync() Method
- Node.js fs.write() Method
- Node.js fs.createReadStream() Method
- Node.js fs.openSync() Method
- Node.js fs.rmdirSync() Method
- Node.js fs.ftruncate() Method
- Node.js fs.truncateSync() Method
- Node.js fs.ftruncateSync() Method
- Node.js fs.readdir() Method
- Node.js fs.writeFileSync() Method
- Node.js fs.readFileSync() Method
- Node.js fs.lstat() Method
- Node.js fs.symlinkSync() Method
- Node.js fs.realpathSync() Method
- Node.js fs.fstat() Method
- Node.js fs.mkdtemp() Method
- Node.js fs.lstatSync() Method
- Node.js fs.readdirSync() Method
- Node.js fs.writeFile() Method
- Node.js fs.fstatSync() Method
- Node.js fs.copyFileSync() Function
- Node.js fs. lchown() Method
- Node.js fs. lchownSync() Method
- Node.js fs.closeSync() Method
- Node.js fs.close() Method
- Node.js fs.fchmod() Method
- Node.js fs.link() Method
- Node.js fs.symlink() Function
- Node.js fs.unlinkSync() Method
- Node.js fs.chmodSync() Method
- Node.js fs.chmod() Method
- Node.js fs.unlink() Method
- Node.js fs.fchmodSync() Method
- Node.js fs.readlinkSync() Method
- Node.js fs. linksync() Method
- Node.js fs.futimesSync() Method
- Node.js fs.utimesSync() Method
- Node.js fs.utimes() Method
- Node.js fs.opendirSync() Method
- Node.js fs.opendir() Method
- Node.js fs.appendFile() Function
- Node.js fs.chown() Method
- Node.js fs.fchown() Function
- Node.js fs.copyFile() Function
- Node.js fs.appendFileSync() Function
- Node.js fs. fchownSync() Method
- Node.js fs.chownSync() Method
- Node.js fs.accessSync() Method
- Node.js fs.access() Method
- Node.js fs.watchFile() Method
- Node.js fsPromises.mkdtemp() Method
- Node.js fsPromises.chmod() Method
- Node.js fs.unwatchFile() Method
- Node.js fsPromises.open() Method
- Node.js fsPromises.mkdir() Method
- Node.js fs.promise.readdir() Method
- Node.js fsPromises.appendFile() Function
- Node.js fsPromise.lstat() Method
- Node.js fsPromises.stat() Method
- Node.js fsPromises.realpath() Method
- Node.js fs.read() Method
- Node.js fsPromises.chown() Method
- Node.js fs.createWriteStream() Method
- Node.js fs.futimes() Method
- Node.js fsPromises.truncate() Method
- Node.js fsPromises.symlink() Method
- Node.js fsPromises.lchmod() Method
- Node.js fsPromises.lchown() Method
- Node.js fsPromises.truncate() Method
- Node.js fsPromises.opendir() Method
- Node.js fsPromises.utimes() Method
- Node.js fsPromises.copyFile() Method
- Node.js fsPromises.rename() Method
- Node.js fs.promises.appendFile() Method
- Node.js fsPromises.rmdir() Method
- Node.js fsPromises.writeFile() Method
- Node.js fsPromises.readFile() Method
- Node.js fsPromises.access() Method
- Node.js stats.ino Property
- Node.js stats.birthtimeNs Property
- Node.js stats.atimeNs Property
- Node.js fsPromises.opendir() Method
- Node.js stats.mtimeNs Property
- Node.js stats.isFIFO() Method
- Node.js stats.isSymbolicLink() Method
- Node.js stat.isSocket() Method
- Node.js stats.dev Property
- Node.js stats.mtime Property
- Node.js filehandle.readFile() Method
- Node.js stats.ctimeNs Property
- Node.js stats.atime Property
- Node.js stats.birthtime Property
- Node.js stats.ctime Property
- Node.js stats.ctimeMs Property from fs.Stats Class
- Node.js stats.mtimeMs Property from fs.Stats Class
- Node.js stats.blocks Property from fs.Stats Class
- Node.js stats.isCharacterDevice() Method from fs.Stats Class
- Node.js stats.atimeMs Property from fs.Stats Class
- Node.js stats.birthtimeMs Property from fs.Stats Class
- Node.js filehandle.stat() Method from class: FileHandle
- Node.js stats.blksize Property from fs.Stats Class
- Node.js stats.size Property from fs.Stats Class
- Node.js stats.nlink Property from fs.Stats Class
- Node.js stats.mode Property from fs.Stats Class
- Node.js stats.isFile() Method from fs.Stats Class
- Node.js stats.gid Property from fs.Stats Class
- Node.js stats.uid Property from fs.Stats Class
- Node.js stats.rdev Property from fs.Stats Class
- Node.js fs.filehandle.utimes() Method
- Node.js fs.filehandle.truncate() Method
- Node.js fs.Dirent.isFIFO() Method
- Node.js fs.filehandle.fd() Method
- Node.js fs.Dirent.isSocket() Method
- Node.js fs.Dirent.isFile() Method
- Node.js fs.filehandle.write() Method
- Node.js fs.Dir.close() Method
- Node.js fs.Dirent.isCharacterDevice() Method
- Node.js fs.Dir.read() Method
- Node.js fs.Dirent.isBlockDevice() Method
- Node.js filehandle.close() Method
- Node.js filehandle.read() Method
- Node.js stats.isDirectory() Method from fs.Stats Class
- Node.js filehandle.writeFile() Method from class: FileHandle
- Node.js fs.Dir.path() Method
- Node.js fs.filehandle.datasync() Method
- Node.js fs.filehandle.chmod() Method
- Node.js stats.isBlockDevice() Method from fs.Stats Class
- Node.js fs.filehandle.chown() Method
- Node.js fs.filehandle.sync() Method
- Node.js filehandle.truncate() Method
- Node.js fs.dirent.name Property
- Node.js filehandle.appendFile() Method
- Node.js fs.Dirent.isDirectory() Method
- Node.js fs.Dirent.isSymbolicLink() Method
- Node.js fs.Dir.readSync() Method
- Node.js fs.Dir.closeSync() Method
- Node.js fs.promises.link() Method
- Node.js fs.watch() Method
- Node.js fs.readlink() Method
- Node.js fs.fdatasync() Method
- Node.js fs.fsync() Method
- Node.js fs.rmSync() Method
- Node.js fs.rm() Method
- Node.js fs.writeSync() Method