Back to Explore

sindresorhus/path-exists

GitHub
4 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

  • Maintenance status: This source appears quiet/dormant as of today, with the last recorded upstream push on 2022-03-03 and the most recent published tagged update being v5.0.0 on 2021-08-12.
  • Update cadence: The update pattern is multi-year and sparse (notably, v5.0.0 in 2021, v4.0.0 in 2019, v3.0.0 in 2016), with no recent activity in the years leading up to 2026-09-10.

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.