# random-mac

> Generate a random Mac Address

Latest version **0.0.5** (published 2019-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-mac
pnpm add random-mac
yarn add random-mac
bun add random-mac
```

Provides the command `random-mac`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2019-01-23 |
| First published | 2012-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Dave Eddy |
| Maintainers | bahamas10 |
| Keywords | random, mac address, mac, generate, generator |

## Links

- npm: https://www.npmjs.com/package/random-mac
- Repository: https://github.com/bahamas10/node-random-mac
- Homepage: https://github.com/bahamas10/node-random-mac#readme
- Issues: https://github.com/bahamas10/node-random-mac/issues
- npm.io page: https://npm.io/package/random-mac

## Recent versions

- 0.0.5 (latest) — 2019-01-23
- 0.0.4 — 2012-07-07
- 0.0.3 — 2012-06-22
- 0.0.2 — 2012-06-17
- 0.0.1 — 2012-06-14
- 0.0.0 — 2012-06-04

## README

random-mac
==========

Generate a random Mac Address

Install
-------

Install for local use as a module

    npm install random-mac

Install globally to use the command line tool random-mac(1)

    npm install -g random-mac

Usage
-----

module

``` js
var randomMac = require('random-mac');
```

command line

    ~$ random-mac
    54:52:00:6f:56:c2
    ~$ random-mac 00:11:22
    00:11:22:ce:ae:07

Example
-------

``` js
> var randomMac = require('random-mac');
undefined
> randomMac()
'54:52:00:2d:45:4b'
> randomMac()
'54:52:00:66:8d:10'
> randomMac('00:11:22')
'00:11:22:09:66:7c'
>
```

    ~$ examples/random-mac.js
    54:52:00:a3:c7:ab

License
-------

MIT Licensed

---
_Source: https://npm.io/package/random-mac · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
