OptionalchildrenOptional. An array of Dree objects, containing all the children of the node
OptionaldescendantsOptional. The number of descendants of the node. Returned only if the node is a directory and [[descendants]] option is specified
OptionalextensionOptional. The extension (without dot) of the node. Returned only if the node is a file
OptionalhashOptional. The hash of the node
OptionalisOptional. True if the node is a directory and contains no files and no directories
A boolean with true value if the node is a symbolic link
The name of the node as a string
The absolute path of the node
The relative path from the root of the node
OptionalsizeOptional. The size of the node, rounded to two decimals and appropriate unit
OptionalsizeOptional. The size in bytes of the node
OptionalstatOptional. The fs.lstat or fs.fstat of the node
Values: Type.DIRECTORY or Type.FILE
Interface of an object representing a Directory Tree