Get device model and manufacturer


#1

For stats purposes I’d like to collect this data, but I haven’t been able to find a way to do it.

The os module from Node doesn’t give any relevant info about the device other than some low level hardware info (CPU, RAM, network).

Anyone knows if there is a way to detect this?


#2

I’ve found this package but sadly it doesn’t support Windows.


#3

That package seems to run terminal commands to get to know stuff about the computer its running on.
Maybe you can extend it to work with windows using WMIC: https://www.windows-commandline.com/get-computer-model/


#4

Thanks for the idea!

I’ll try that once I get my hands on a Windows machine.