Schema Doter
Get schema.org as a useable JS module.
Automatically fetches latest http://schema.org/docs/full.html jsonld schemas, and saves them as json for simple import as modules into your project.
About
Another schema.org package!?
Yes.
It pulls schema.org schemas so you can use them whenever you need via js modules.
This is actually quite similar to https://www.npmjs.com/package/schema.org, but provides a simple method for import.
Setup:
Install using yarn (needed for postinstall script/retrieval) yarn
Use
When using:
import { Book } from './schema-doter';
console.log( 'This is the book schema', Book )TODO
- Publish as npm package?
- Setup main script / build / etc
- Add tests
- setup CI