df
Wraps df -B 512
(Linux and Cygwin) or df -b
(OS X) and produces pretty output.
Gives output for both real and virtual filesystems.
Installation
To install both module and commandline versions:
npm install dfnpm install -g df
Usage
Command-line:
df-json
Module:
{ "use strict"; var df = ; ;};
Output: