npm install elixirhub/microdata
var microdata = require('microdata');
var url = 'http://elixir-europe.org/events/';
// without URL
var result = microdata.parse(html);
// with URL
microdata.parse(url, function (err, result) {
});
htmlOrUrl
String – An HTML source or an URL.callback
Function – Requied when the first parameter is an URL.
Microdata is licensed under the MIT license.