Package
file-exists
Check if filepath exists and is a file
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
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
- v5 first release 5.0.0, 27 Sept 2017
- v4 first release 4.0.0, 1 Jun 2017
- v3 first release 3.0.0, 7 Feb 2017
- v2 first release 2.0.0, 2 Aug 2016
- v1 first release 1.0.0, 20 Nov 2015
- v0 first release 0.1.0, 17 Jul 2014
Recent releases
| Version | Published |
|---|---|
| 5.0.1 | 2 Jan 2018 |
| 5.0.0 | 27 Sept 2017 |
| 4.0.0 | 1 Jun 2017 |
| 3.0.2 | 8 Mar 2017 |
| 3.0.1 | 7 Feb 2017 |
| 3.0.0 | 7 Feb 2017 |
| 2.0.0 | 2 Aug 2016 |
| 1.0.0 | 20 Nov 2015 |
| 0.1.1 | 18 Jul 2014 |
| 0.1.0 | 17 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- jsDelivr
https://cdn.jsdelivr.net/npm/file-exists@5.0.1/ - unpkg
https://unpkg.com/file-exists@5.0.1/ - esm.sh
https://esm.sh/file-exists@5.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| detect-file | 7m | - | 9 years ago | CommonJS | - |
| fsu | 912.2k | - | 6 years ago | CommonJS | - |
| @stdlib/fs-exists | 542k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.