The npm package is-file-esm was released only once in October 2020 (version 1.0.0). Since then, there have been no new releases for the subsequent months, including up to September 2025. This indicates a period of inactivity for this particular package.
is-file-esm checks if a given path represents a file using asynchronous fsPromises.stat(). Optimized for ES modules, it provides a cleaner and more modern alternative to synchronous checks. Unlike fs.existsSync(), this package avoids potential race conditions and performance issues by utilizing asynchronous operations. This makes it suitable for applications requiring efficient and non-blocking file existence verification in an ES module environment. Returns a Promise that resolves to true if the path is a file, otherwise false.
The npm package is-file-esm experienced fluctuating downloads between March 2024 and September 2025. Downloads peaked in August 2025 at 1,939,620. There appears to a consistent growth during 2024 but the numbers stabilizes in 2025, with a significant drop in downloads for September 2025, but this may be explained because the month is not over yet.