Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A simple utility to retrieve volume (disk) info.

Notifications You must be signed in to change notification settings

miniArray/discoid

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discoid

Travis Codecov npm GitHub license GitHub issues Dependeny Status

semantic-release js-standard-style Commitizen friendly Gitter Dev Dependency Status

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

Setup

NPM

npm install discoid

Usage

let discoid = require('discoid');

discoid.list()
    .then(console.log);
Output
[{
	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}\\'
}]

License

MIT License 2015 © Simon W. Jackson and contributors

About

A simple utility to retrieve volume (disk) info.

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.