# fs.readFile.options

options for readFile and readFileSync methods

Availability
8.3.0
8.3.0
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# encoding

Availability
8.3.0
8.3.0
9.2.0
encoding :String

If no encoding is specified, then the raw buffer is returned.

Default: null


# flag

Availability
8.3.0
8.3.0
9.2.0
flag :String

See support of file system flags.

Default: r