exists-file
Check if a file exists. A fs.exists implementation that is not deprecated.
exists-file@3.0.2 was published on 2017-07-18. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 4.
Deprecated: This package is a perf sacrilege. Use `fs.existsSync()` instead
All exists-file versions · Permanent reference to 3.0.2
Package specifications
| Version | 3.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2017-07-18T17:52:51.221Z |
| Node.js requirement | >= 4 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 6 |
| Repository forks | 3 |
Install exists-file 3.0.2
npm install exists-file@3.0.2 pnpm add exists-file@3.0.2 yarn add exists-file@3.0.2
Runtime dependencies
- cb2promise ~1.1.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- cb2promise@1.1.1 — direct
- mimic-fn@2.0.0 — indirect
- sliced@1.0.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 1/10 — Found 2/17 approved changesets -- score normalized to 1 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/exists-file/3.0.2 — retrieved 2026-10-30T20:17:29.875Z
- https://api.deps.dev/v3/systems/npm/packages/exists-file/versions/3.0.2 — retrieved 2026-10-30T20:17:30.270Z
- https://api.deps.dev/v3/systems/npm/packages/exists-file/versions/3.0.2:dependencies — retrieved 2026-10-30T20:17:30.294Z
- https://api.deps.dev/v3/projects/github.com%2Fkikobeats%2Fexists-file — retrieved 2026-10-30T20:17:30.772Z