stat-mode provides human-readable representations of file system modes (permissions) returned by fs.stat. It simplifies understanding Unix-style permissions by converting the numerical output of stat calls into symbolic representations like "rwxr-xr-x". This package offers methods to check specific permissions (read, write, execute) for owner, group, and others. Ideal for Node.js applications requiring clear and concise display of file system permission information.
The npm package stat-mode experienced initial releases in early to mid-2014 (versions 0.0.1 to 0.2.0). Sporadic updates followed, with versions 0.2.1, 0.2.2, 0.3.0, and 1.0.0 released in April 2015, September 2016, March 2019 and November 2019 respectively. After November 2019, there have been no further releases as of September 9, 2025.
Stat-mode npm package downloads show a clear upward trend from March 2024 (2.5M) to August 2025 (6.3M). There's been consistent growth throughout 2024, escalating further into 2025. September 2025 downloads are incomplete and therefore much lower (1.5M).