0.1.1 • Published 11 years ago

macvendor v0.1.1

Weekly downloads
8
License
-
Repository
github
Last release
11 years ago

MacVendor

A node.js library to figure out the vendor of a MAC address

Installation

npm install macvendor

MacVendor relies on mikeal/request

About

Macvendor calls the MacVenodrs API using GET which is documented at http://www.macvendors.com/api

Usage

var macvendor = require('macvendor');

macvendor('01:23:45:67:89:ab', function(err, vendor) {
  if (!err) {
  console.log(vendor);
  }
});

Err is passed along if request has an error and vendor is undefined if the service has no idea what the vendor is.

License

Copyright (c) 2012 Phips Peter Licensed under the MIT license.