Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 791 Bytes

File metadata and controls

39 lines (26 loc) · 791 Bytes

hwid

Node.js CI NPM version NPM downloads

Get the current system's unique hardware ID

Install

pnpm i hwid

Usage

import { hwid } from "hwid";

// detects platform automatically
const id: string = await hwid();

Platform-specific

Supported platforms: windows, macos, and linux

// will only work on macos
import { hwid } from "hwid/macos";

const id: string = await hwid();

CLI

pnpm dlx hwid@latest