New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

discoid

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discoid

A simple utility to retrieve disk info

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

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

Keywords

disk

FAQs

Package last updated on 04 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts