fs.fchmod()

fs.fchmod(fd, mode, callback) Asynchronous fchmod(2). No arguments other than a possible exception are given to the completion callback.

fs.existsSync()

fs.existsSync(path) Stability: 0 - Deprecated: Use fs.statSync() or fs.accessSync() instead. Synchronous version of fs.exists(). Returns true if the file exists, false otherwise.

fs.closeSync()

fs.closeSync(fd) Synchronous close(2). Returns undefined.

fs.createReadStream()

fs.createReadStream(path[, options]) Returns a new ReadStream object. (See Readable Stream). Be aware that, unlike the default value set for highWaterMark on a readable stream (16 kb), the stream returned by this method has a default value of 64 kb for the same parameter. options is an object or string with the following defaults: { flags: 'r', encoding: null, fd: null, mode: 0o666, autoClose: true } options can include start and end values to read a range of bytes from the file in

fs.chown()

fs.chown(path, uid, gid, callback) Asynchronous chown(2). No arguments other than a possible exception are given to the completion callback.

fs.chmodSync()

fs.chmodSync(path, mode) Synchronous chmod(2). Returns undefined.

fs.close()

fs.close(fd, callback) Asynchronous close(2). No arguments other than a possible exception are given to the completion callback.

fs.chownSync()

fs.chownSync(path, uid, gid) Synchronous chown(2). Returns undefined.

fs.appendFile()

fs.appendFile(file, data[, options], callback) file <String> | <Number> filename or file descriptor data <String> | <Buffer> options <Object> | <String> encoding <String> | <Null> default = 'utf8' mode <Number> default = 0o666 flag <String> default = 'a' callback <Function> Asynchronously append data to a file, creating the file if it does not yet exist. data can be a string or a buffer. Example: fs.appendFile('me

fs.chmod()

fs.chmod(path, mode, callback) Asynchronous chmod(2). No arguments other than a possible exception are given to the completion callback.