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!
elliotisms
reusable atomic functions for the dumb shit i reuse all the time. only about half are jokes.
jumpgen
Easy, transparent ”watch mode” for filesystem access (powered by Chokidar)
modify-json-file
Simple and modern way to modify JSON files
⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s
npm install fdir
98.1
Supply Chain
97.5
Quality
84.4
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,511 Stars
323 Commits
58 Forks
17 Watching
8 Branches
15 Contributors
Updated on 25 Nov 2024
Minified
Minified + Gzipped
TypeScript (92.89%)
JavaScript (7.11%)
Cumulative downloads
Total Downloads
Last day
1.8%
789,646
Compared to previous day
Last week
15.7%
4,241,715
Compared to previous week
Last month
50.7%
15,779,544
Compared to previous month
Last year
644.1%
52,292,819
Compared to previous year
1
33
⚡ 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
no dangerous workflow patterns detected
Reason
27 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
Found 7/22 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
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
Score
Last Scanned on 2024-11-18
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