An open API service indexing awesome lists of open source software.

https://github.com/draeder/hardwareid

Return the computer serial number, along with username, platform and hardware architecture
https://github.com/draeder/hardwareid

hardware-id hid serial-number username

Last synced: 28 days ago
JSON representation

Return the computer serial number, along with username, platform and hardware architecture

Awesome Lists containing this project

README

        

# HardwareId
## Return the computer serial number, along with username, platform and hardware architecture
Works on Mac, Windows, Linux, FreeBSD

## Install
```js
npm i hardwareid
```

## Usage
```js
import hardwareid from "hardwareid"

let sn = await hardwareid()
console.log(sn)
```

This outputs:
```js
{
username: 'SomeUsername',
serial: 'ABCDEFGH12345',
platform: 'darwin',
arch: 'x64'
}
```

## Credit
[@bresnow](https://github.com/bresnow/chainlocker)