@smhg/microdata

0.2.0 • Public • Published

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)

Dependencies (1)

Dev Dependencies (4)

Package Sidebar

Install

npm i @smhg/microdata

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • smhg