UNPKG
@nodelib/fs.stat
Version:
latest (4.0.0)
4.0.0
3.0.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Get the status of a file with some features
@nodelib/fs.stat
/
out
/
types
/
index.d.ts
5 lines
(4 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
import
type
*
as
fs
from
'node:fs'
;
export
type
Stats
= fs.
Stats
;
export
type
ErrnoException
=
NodeJS
.
ErrnoException
;
export
type
AsyncCallback
=
(
error
:
ErrnoException
|
null
,
stats
:
Stats
) =>
void
;