Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smhg/microdata-js

Microdata parser
https://github.com/smhg/microdata-js

Last synced: about 2 months ago
JSON representation

Microdata parser

Awesome Lists containing this project

README

        

# microdata [![Build Status](https://travis-ci.org/smhg/microdata-js.png?branch=master)](https://travis-ci.org/smhg/microdata-js)

[schema.org](http://schema.org/) microdata parser.

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

## Installation

```
npm install @smhg/microdata
```

## Usage

```javascript
import {parse} from 'microdata';

let microdata = parse('');
```

## 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)