Skip to main content

Mac

Get the MAC addresses of the current machine, inspired by fengmk2’s address and adapted to Typescript.

Requires the --allow-run flag.

Usage

import { getMac } from 'https://cdn.depjs.com/mac/mod.ts'

await getMac()
// --> 78:ca:39:b0:e6:7d

License

MIT

Copyright (c) 2020, Acathur