Skip to content
/ mac Public

Get the MAC addresses of the current machine in Deno.

Notifications You must be signed in to change notification settings

acathur/mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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