Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Generate a random Mac Address
tag: v0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
examples
tests
.gitignore
README.md
index.js
package.json

README.md

random-mac

Generate a random Mac Address

Install

npm install random-mac

Usage

var randomMac = require('./random-mac');

Example

> 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

Something went wrong with that request. Please try again.