readdir-withFileTypes
A ponyfill for
fs.readdir(path, { withFileTypes: true })
Install
npm install --save readdir-withfiletypes
Usage
Before: No support for Node <10
fs let dirents =
After: Support for Node <10
let dirents =
A ponyfill for
fs.readdir(path, { withFileTypes: true })
npm install --save readdir-withfiletypes
Before: No support for Node <10
fs let dirents =
After: Support for Node <10
let dirents =
npm i readdir-withfiletypes
567
1.0.2
MIT
7.36 kB
7