UNPKG

node-drivelist

Version:

A TypeScript library to list connected drives, their usage (total, used, available space), and mount points. Supports Windows, Linux, and macOS (via POSIX compatibility). No node-gyp required.

9 lines (8 loc) 182 B
export interface DriveDataInterface { total: number; used: number; available: number; percentageUsed: number; mountpoint: string; name: string | undefined; }