A damn simple tool to extract json-ld metadata from webpage using jquery like api (jQuery, Cheerio, CashDOM, ...).
npm install jsonld-extractA damn simple tool to extract json-ld metadata from webpage using jquery like api (jQuery, Cheerio, CashDom ...).

``bash`
npm install --save jsonld-extract
* jQuery
* Cheerio
* CashDom
`javascript
import jsonldextract from 'jsonld-extract';
import cheerio from 'cheerio';
const $ = cheerio.load( html );
const $jsonld = jsonldextract($);
const data = $jsonld('product.name');
console.log('Extracted data:', data);
``