Gathering detailed insights and metrics for fdir
Gathering detailed insights and metrics for fdir
Gathering detailed insights and metrics for fdir
Gathering detailed insights and metrics for fdir
fdir-size
⚡ Fastest Directory Size Calculator at Sub-second!
@in-browser/fdir
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
fdir-react
Felles React-komponentbibliotek for Fiskeridirektoratet bygd med Vite samt Storybook
⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s
npm install fdir
Typescript
Module System
Node Version
NPM Version
98.8
Supply Chain
97.6
Quality
87.5
Maintenance
100
Vulnerability
100
License
TypeScript (93.25%)
JavaScript (6.75%)
Total Downloads
338,178,414
Last Day
1,215,124
Last Week
20,737,209
Last Month
83,616,436
Last Year
316,411,546
MIT License
1,621 Stars
341 Commits
66 Forks
17 Watchers
10 Branches
17 Contributors
Updated on Jul 04, 2025
Minified
Minified + Gzipped
Latest Version
6.4.6
Package Id
fdir@6.4.6
Unpacked Size
83.92 kB
Size
19.03 kB
File Count
43
NPM Version
10.8.2
Node Version
20.18.1
Published on
Jun 10, 2025
Cumulative downloads
Total Downloads
Last Day
9.9%
1,215,124
Compared to previous day
Last Week
-1%
20,737,209
Compared to previous week
Last Month
24.8%
83,616,436
Compared to previous month
Last Year
2,219.4%
316,411,546
Compared to previous year
1
34
⚡ The Fastest: Nothing similar (in the NodeJS world) beats fdir
in speed. It can easily crawl a directory containing 1 million files in < 1 second.
💡 Stupidly Easy: fdir
uses expressive Builder pattern to build the crawler increasing code readability.
🤖 Zero Dependencies*: fdir
only uses NodeJS fs
& path
modules.
🕺 Astonishingly Small: < 2KB in size gzipped & minified.
🖮 Hackable: Extending fdir
is extremely simple now that the new Builder API is here. Feel free to experiment around.
* picomatch
must be installed manually by the user to support globbing.
You can install using npm
:
1$ npm i fdir
or Yarn:
1$ yarn add fdir
1import { fdir } from "fdir"; 2 3// create the builder 4const api = new fdir().withFullPaths().crawl("path/to/dir"); 5 6// get all files in a directory synchronously 7const files = api.sync(); 8 9// or asynchronously 10api.withPromise().then((files) => { 11 // do something with the result here. 12});
Documentation for all methods is available here.
Please check the benchmark against the latest version here.
fdir
is downloaded over 200k+ times a week by projects around the world. Here's a list of some notable projects using fdir
in production:
Note: if you think your project should be here, feel free to open an issue. Notable is anything with a considerable amount of GitHub stars.
Copyright © 2024 Abdullah Atta under MIT. Read full text here.
No vulnerabilities found.
Reason
10 commit(s) and 2 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
Found 10/26 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
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