An open API service indexing awesome lists of open source software.

https://github.com/acathur/mac

Get the MAC addresses of the current machine in Deno.
https://github.com/acathur/mac

address deno ifconfig mac

Last synced: 4 months ago
JSON representation

Get the MAC addresses of the current machine in Deno.

Awesome Lists containing this project

README

          

# Mac

Get the MAC addresses of the current machine, inspired by fengmk2's [address](https://github.com/node-modules/address) and adapted to Typescript.

**Requires the `--allow-run` flag.**

## Usage

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

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

## License

[MIT](https://github.com/Acathur/mac/blob/master/LICENSE)

Copyright (c) 2020, Acathur