https://github.com/luludotdev/hwid
Grab the system's unique hardware ID
https://github.com/luludotdev/hwid
Last synced: about 1 year ago
JSON representation
Grab the system's unique hardware ID
- Host: GitHub
- URL: https://github.com/luludotdev/hwid
- Owner: luludotdev
- License: isc
- Created: 2019-04-08T01:05:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-06T00:07:27.000Z (over 2 years ago)
- Last Synced: 2025-05-04T14:47:45.375Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://npm.im/hwid
- Size: 633 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 💻 HWID

[](https://www.npmjs.com/package/hwid)
[](https://www.npmjs.com/package/hwid)
> Grab the system's unique hardware ID!
## 💾 Installation
This package is published to the NPM registry as [`hwid`](https://www.npmjs.com/package/hwid). Install it with your NPM client of choice.
## 🔧 Usage
First, import the module:
```js
import { getHWID } from 'hwid'
```
From there, simply call the function. It returns a promise with the hardware ID as a string. As it returns a promise, you can also use it in an async/await context.
```js
// Promises
getHWID().then(id => {
// use ID however you want
})
// async/await
async function main() {
const id = await getHWID()
// use ID however you want
}
```