stdlib-js / stdlib

✨ Standard library for JavaScript and Node.js. ✨
https://stdlib.io
Apache License 2.0
4.42k stars 462 forks source link

[RFC]: add `fs/stat` #2233

Open Daniel777y opened 6 months ago

Daniel777y commented 6 months ago

Description

This RFC proposes adding the package @stdlib/fs/stat for inspecting details of files asynchronously and synchronously.

var stat = require( '@stdlib/fs/stat' );
var statSync = require( '@stdlib/fs/stat' ).sync;

Related Issues

None.

Questions

No.

Other

No.

Checklist

Daniel777y commented 6 months ago

Hi, @kgryte . I found this can be used by other packages in @stdlib/fs. Can I try working on this?