### Description This RFC proposes adding the package `@stdlib/fs/stat` for inspecting details of files asynchronously and synchronously. ```javascript var stat = require( '@stdlib/fs/stat' ); var statSync = require( '@stdlib/fs/stat' ).sync; ``` ### Related Issues None. ### Questions No. ### Other No. ### Checklist - [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md). - [X] Searched for existing issues and pull requests. - [X] The issue name begins with `RFC:`.
Activity
C0ldSmi1e commentedon May 5, 2024
Hi, @kgryte . I found this can be used by other packages in
@stdlib/fs. Can I try working on this?ImStillBlessed commentedon Mar 16, 2026
Hi, @kgryte i am planning on applying to work on the idea 10
"Achieve feature parity with builtin Node.js fs module"for the GSoC '26This issue being directly in the path of the idea will be a great starting for understanding of the problem, and hands on experience,
the @stdlib/fs/exists already uses the
stats()function to check if a file exists.i propose adding the
stats()function as a standalone to return full details of the file using the path,and i've seen your comments on other related commits, i will make sure to focus on making it backwards compatible with older node versions.