A simple utility to retrieve the host's volume (disk) info.
Currently, only windows is supported. Support for POSIX (Linux, Mac, etc) is planned for the v1.0.0 release
npm install discoid
let discoid = require('discoid');
discoid.list()
.then(console.log);
[{
guid: '6f35a39a-4c5d-4208-ba6e-aa8d2a2add96',
unc: '\\\\?\\Volume{6f35a39a-4c5d-4208-ba6e-aa8d2a2add96}\\',
mounts: ['C:\\']
}, {
guid: 'b0357aa2-c106-11e5-82ce-605718ebe2c1',
unc: '\\\\?\\Volume{b0357aa2-c106-11e5-82ce-605718ebe2c1}\\'
}]
MIT License 2015 © Simon W. Jackson and contributors