A fs.Stats object provides information about a file.
Objects returned from stat, lstat, fstat, and
their synchronous counterparts are of this type.
If bigint in the options passed to those methods is true, the numeric values
will be bigint instead of number, and the object will contain additional
nanosecond-precision properties suffixed with Ns. Stat objects are not to be created directly using the new keyword.
A
fs.Stats
object provides information about a file.Objects returned from stat, lstat, fstat, and their synchronous counterparts are of this type. If
bigint
in theoptions
passed to those methods is true, the numeric values will bebigint
instead ofnumber
, and the object will contain additional nanosecond-precision properties suffixed withNs
.Stat
objects are not to be created directly using thenew
keyword.bigint
version:Since
v0.1.21