This module's default exports override the core stat() and lstat() functions, replacing them with versions that contain BSD 4.4 extensions such as file flags. This module also adds chflags function.