0.0.4 • Published 2 years ago

schema_org_parseur v0.0.4

Weekly downloads
-
License
GPLv3
Repository
github
Last release
2 years ago

Schema parser

Schema are all around the web, and contain useful information about the content of a webpage.

This parser is the equivalent of the https://validator.schema.org/, while it won't fetch via the url for you. It will give you the same result as the validator.

limitation

For now it only works with JSON-LD in html for now, this is still work in progress

Getting started

npm i schema_org_parseur
import { parseSchema } from "schema_org_parseur"

console.log(parseSchema(html))
// [ {schema1}, {schema2}, ...]
0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago