1.0.3 • Published 6 years ago

mac2ll v1.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

Mac Address to IPv6 Link Local Converter

This is a simple script that follows the standard conventions for converting a mac address to a IPv6 Link Local address:

Example:

var mac2ll = require("mac2ll");
var ll = mac2ll("ee:d0:00:17:91:85")
console.log(ll); // Logs: fe80::ecd0:00ff:fe17:9185

API:

Nope, one method, one param, no options :) Pretty much dead simple!