1.2.2 • Published 7 years ago
schema-org-parser-json-ld v1.2.2
This parser is used to get the json-ld from any website. The json-ld should have a schema.org annotation.
Installation
npm install schema-org-parser-json-ld
Example
var parser = require('schema-org-parser-json-ld');
...
parser.getJsonLdOfUrl(url).then(function(result) {
...
}).catch(function(error) {
...
});
Test Programm