UNPKG
@nodelib/fs.scandir
Version:
latest (4.0.1)
4.0.1
4.0.0
3.0.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
List files and directories inside the specified directory
@nodelib/fs.scandir
/
out
/
scandir-promises.js
7 lines
(6 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
scandir
=
void
0
;
const
util =
require
(
"node:util"
);
const
scandir_1 =
require
(
"./scandir"
);
exports
.
scandir
= util.
promisify
(scandir_1.
scandir
);