Back to Explore

sindresorhus/path-exists

GitHub
1 watchersOpen source

Last release: 8/12/2021

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 appears largely stable after the major changes, with the most recent published update being v5.0.0 on 2021-08-12, and the last upstream push on 2022-03-03 (it is not clear from the provided evidence whether there were further published updates after v5.0.0).
  • Update cadence looks low, with major updates spanning several years (v4.0.0 in 2019, then v5.0.0 in 2021), suggesting infrequent but deliberate changes rather than continuous iteration.

AI summary generated Today

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

Recent updates

  • v5.0.0

    8/12/2021

    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

    4/4/2019

    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