schema.org microdata parser.
Tests based on tests in microdatajs by Philip Jägenstedt.
npm install @smhg/microdata
import {parse} from 'microdata';
let microdata = parse('<html><!-- ... --></html>');
- cli interface
- parse more schema.org elements (e.g. time values)
- give meaning to itemprop values (Date, interval, Number)
- optionally map itemtype values to something useful (other than url)