hwid
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

💻 HWID

Node.js CI NPM version NPM downloads

Grab the system's unique hardware ID!

💾 Installation

This package is published to the NPM registry as hwid. Install it with your NPM client of choice.

🔧 Usage

First, import the module:

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.

// Promises
getHWID().then(id => {
  // use ID however you want
})

// async/await
async function main() {
  const id = await getHWID()
  // use ID however you want
}

Readme

Keywords

none

Package Sidebar

Install

npm i hwid

Weekly Downloads

132

Version

0.5.0

License

ISC

Unpacked Size

8.65 kB

Total Files

6

Last publish

Collaborators

  • luludev