Neutron Polarization Manipulator

    system-disk

    1.1.2 • Public • Published

    system-disk

    Get the system disk of the computer (e.g. C: or /dev/sda)

    For Windows this module uses the %SystemDrive% environment variable and the df command for macOS and Linux.

    Installation

    $ npm install system-disk
    

    Usage

    const systemDisk = require('system-disk');
    systemDisk().then(disk => {
        console.log(disk);
        // => C:
    });

    API

    systemDisk()

    Returns the disk on the computer where the operating system is stored (the boot disk).

    Related

    License

    MIT © Knut Kirkhorn

    Install

    npm i system-disk

    DownloadsWeekly Downloads

    8

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    5.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • knutkirkhorn