{ "name": "@tpmjs/tools-extract-json-ld", "version": "0.2.0", "description": "Extract JSON-LD structured data from web pages", "type": "module", "keywords": [ "tpmjs", "research", "ai", "json-ld", "structured-data", "seo" ], "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "type-check": "tsc --noEmit", "clean": "rm -rf dist .turbo" }, "devDependencies": { "@tpmjs/tsconfig": "workspace:*", "@types/cheerio": "^1.0.0", "tsup": "^8.5.1", "typescript": "^5.9.3" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/anthropics/tpmjs.git", "directory": "packages/tools/official/extract-json-ld" }, "homepage": "https://tpmjs.com", "license": "MIT", "tpmjs": { "category": "research", "frameworks": [ "vercel-ai" ], "tools": [ { "name": "extractJsonLdTool", "description": "Extract JSON-LD structured data from web pages", "parameters": [ { "name": "url", "type": "string", "description": "The URL to fetch and extract JSON-LD from", "required": true } ], "returns": { "type": "JsonLdExtraction", "description": "Object with jsonLd array, types array, and count" } } ] }, "dependencies": { "ai": "6.0.49", "cheerio": "^1.0.0-rc.12" } }