Gathering detailed insights and metrics for fs-iterator
Gathering detailed insights and metrics for fs-iterator
Gathering detailed insights and metrics for fs-iterator
Gathering detailed insights and metrics for fs-iterator
get-all-files
A blazing fast recursive directory crawler with lazy sync and async iterator support.
fs-tree-iterator
Recursive file tree nanoiterator
fs-match
A NodeJS package for finding folders, files & apps by Regular expression based on Asynchronous iteration of ES 9 & TypeScript
lines-async-iterator
⬅ 🤜 Lazy, line-by-line, file read async iterator for node.js
A file system iterator with filter and asyncIterator interfaces
npm install fs-iterator
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (97.85%)
JavaScript (2.15%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
363 Commits
1 Forks
2 Watchers
11 Branches
1 Contributors
Updated on Jul 14, 2025
Latest Version
6.1.3
Package Id
fs-iterator@6.1.3
Unpacked Size
73.71 kB
Size
15.41 kB
File Count
96
NPM Version
11.4.2
Node Version
24.3.0
Published on
Jul 08, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A file system iterator with filter and asyncIterator interfaces
Entries are of the format:
Promise
const Iterator = require('fs-iterator');
// traverse skipping .git folders
const iterator = new Iterator(__dirname, { filter: (entry: Entry): boolean => { return entry.stats.isDirectory() && entry.basename === '.git'; } });
iterator.on('error', console.log); // log expected errors without stopping flow 'ENOENT', 'EPERM', 'EACCES', 'ELOOP'
let value = await iterator.next();
while(!value.done) {
/* do something */
value = await iterator.next();
}
// using forEach with concurrency
const iterator2 = new Iterator(__dirname, { error: (err) => { return true; /* filter errors */ }});
const done = await iterator2.forEach((entry: Entry): undefined => { /* do something */ }, { concurrency: 1024 })
Callback
const Iterator = require('fs-iterator');
// traverse skipping .git folders
const iterator = new Iterator(__dirname, { filter: (entry: Entry): boolean => { return entry.stats.isDirectory() && entry.basename === '.git'; }, error: (err) => { return true; /* filter errors */ } });
iterator.forEach((entry: Entry): undefined => { /* do something */ }, { concurrency: 1024 }, (err, done) => {})
Iterator Options:
function(entry, callback)
. (default: false)forEach Options:
function(entry, callback)
(default: false)No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More