0.2.0 • Published 9 years ago

@smhg/microdata v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

microdata Build Status

schema.org microdata parser.

Tests based on tests in microdatajs by Philip Jägenstedt.

Installation

npm install @smhg/microdata

Usage

import {parse} from 'microdata';

let microdata = parse('<html><!-- ... --></html>');

TODO

  • 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)
0.2.0

9 years ago