/deno_machine_id

Get the unique ID of the current machine

Primary LanguageTypeScriptMIT LicenseMIT

Build Status

Get the unique ID of the current machine

Cross platform support

Usage

// Permission in Windows: --allow-run --allow-env=$windir
// Permission in MacOS: --allow-run=/usr/sbin/ioreg
// Permission in Linux: --allow-read=/var/lib/dbus/machine-id,/etc/machine-id
import { getMachineId } from "https://deno.land/x/machine_id@v0.3.0/mod.ts";

console.log("My Machine ID: ", await getMachineId());

License

The MIT License