Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Disk Labels for Windows #5

Open
vasyl-shumskyi opened this issue Nov 21, 2017 · 2 comments
Open

Support Disk Labels for Windows #5

vasyl-shumskyi opened this issue Nov 21, 2017 · 2 comments

Comments

@vasyl-shumskyi
Copy link

Any chance this awesome package will support disk labels for win32 platform?

It is a bit confusing to track what disk handles which data by C: D: E:

Thanks for your amazing work!

@int0h
Copy link
Owner

int0h commented Nov 23, 2017

Hello! Thanks for your feedback! Yeah, that's possible.

I've made a separate branch, you can use it for now:
npm i --save https://github.com/int0h/npm-hddSpace.git#win32-labels

Example of output:

{ parts:
   [ { free: 496592740352,
       size: 539028877312,
       place: 'C:',
       letter: 'C:',
       label: 'System' } ],
  total: { free: 496592740352, size: 539028877312 } }

I'm gonna merge it in master in future, but I'd like to do some refactoring before. You'll be able to update it from npm in a few weeks.

Please let me know if this solves your problem!

@vasyl-shumskyi
Copy link
Author

Awesome! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants