Skip to content
JS
Package

file-exists

Check if filepath exists and is a file

v5.0.1, 2 Jan 2018MITCommonJSTypes: NoneFiles and file systems
$ npm install file-exists

Key numbers

As of 25 Sept 2026
Weekly downloads
383.8k
+333% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v5.0.1
GitHub stars
33
8 forks
Open issues / PRs
1 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 564.9k (25 Aug 2026)Low 55.2k (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

383,770 downloads last week, 1,876,968 in the last month. The 12-month change of +333% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
5.0.1, 2 Jan 20188 years ago
First published
17 Jul 2014
Last push to GitHub
28 Apr 20221,610 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
326

Major versions

  1. v5 first release 5.0.0, 27 Sept 2017
  2. v4 first release 4.0.0, 1 Jun 2017
  3. v3 first release 3.0.0, 7 Feb 2017
  4. v2 first release 2.0.0, 2 Aug 2016
  5. v1 first release 1.0.0, 20 Nov 2015
  6. v0 first release 0.1.0, 17 Jul 2014

Recent releases

VersionPublished
5.0.12 Jan 2018
5.0.027 Sept 2017
4.0.01 Jun 2017
3.0.28 Mar 2017
3.0.17 Feb 2017
3.0.07 Feb 2017
2.0.02 Aug 2016
1.0.020 Nov 2015
0.1.118 Jul 2014
0.1.017 Jul 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6.0.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install file-exists
  • jsDelivrhttps://cdn.jsdelivr.net/npm/file-exists@5.0.1/
  • unpkghttps://unpkg.com/file-exists@5.0.1/
  • esm.shhttps://esm.sh/file-exists@5.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
detect-file7m-9 years agoCommonJS-
fsu912.2k-6 years agoCommonJS-
@stdlib/fs-exists542k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.