UNPKG

@ekristoffe/node-disk-info

Version:

Node module to get disk information in Windows, Linux & Mac. It works with Electron.

13 lines (12 loc) 289 B
import Drive from '../classes/drive'; /** * Class with OSX specific logic to get disk info. */ export declare class Darwin { /** * Execute specific OSX command to get disk info. * * @return {Drive[]} List of drives and their info. */ static run(): Drive[]; }