disk-utility
Quickly calculate the size of a folder or disk on macOS and Linux
Features
- Does not depend on system dependencies (like
du
) - Cross-platform (waiting on windows support)
- Built using Neon!
Installation
npm install disk-utility
Usage
; // Calculate the size of a directorydiskUtility; // Pass optional core countdiskUtility;
Local Setup
git clone https://github.com/amilajack/disk-utilitycd disk-utilityyarnyarn test