File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# readdirp [ ![ Weekly downloads] ( https://img.shields.io/npm/dw/readdirp.svg )] ( https://github.com/paulmillr/readdirp )
2
2
3
- Recursive version of [ fs.readdir] ( https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback ) . Exposes a ** stream API** and a ** promise API** .
4
-
5
- Supports both ESM and common.js.
3
+ Recursive version of fs.readdir. Exposes a ** stream API** (with small RAM & CPU footprint) and a ** promise API** .
6
4
7
5
``` sh
8
6
npm install readdirp
7
+ jsr add jsr:@paulmillr/readdirp
9
8
```
10
9
11
10
``` javascript
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " readdirp" ,
3
- "description" : " Recursive version of fs.readdir with streaming API ." ,
3
+ "description" : " Recursive version of fs.readdir with small RAM & CPU footprint ." ,
4
4
"version" : " 4.0.2" ,
5
5
"homepage" : " https://github.com/paulmillr/readdirp" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments