Back to Explore

sindresorhus/path-exists

GitHub
2 watchersOpen source

Last release:

A small Node.js utility that checks whether a filesystem path exists. It provides both async (Promise<boolean>) and sync (boolean) APIs, but the README notes it is not needed if you only rely on the built-in fs.existsSync and warns about race conditions when using existence checks before opening files.

Project status

  • The source sindresorhus/path-exists appears to be in maintenance mode or dormant, with the last upstream push on 2022-03-03, and no evidence of updates since the earlier major releases.
  • Apparent update cadence is effectively stalled for years (last recorded upstream activity in 2022, and prior tagged changes in 2021 and 2019), so it does not look actively maintained relative to 2026-06-09.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.0.0

    Release v5.0.0 converts the package to pure ESM and changes the public API from default export to named exports. The implementation and TypeScript definitions were updated accordingly, and the project metadata and tooling were modernized.

    Breaking
  • v4.0.0

    This release upgrades the package to v4.0.0 and introduces a TypeScript definition. The primary developer-impacting change is that it now requires Node.js 8.

    BreakingFeatures
  • v3.0.0

    No release notes were provided for v3.0.0, so the changes in this release cannot be determined from the release text alone. Developers should review the tagged diff (v2.x to v3.0.0) and any changelog or commit history to identify API, behavioral, and dependency changes before upgrading.