tpmjs/packages/tools/official/links-catalog/package.json
Ajax Davis 3e0f487522 chore: version packages
Initial release of 100+ official TPMJS tools
2025-12-31 23:54:47 +10:00

62 lines
1.6 KiB
JSON

{
"name": "@tpmjs/tools-links-catalog",
"version": "0.2.0",
"description": "Extract and categorize all links from web pages",
"type": "module",
"keywords": ["tpmjs", "research", "ai", "links", "web-scraping", "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": "^0.22.35",
"tsup": "^8.3.5",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/anthropics/tpmjs.git",
"directory": "packages/tools/official/links-catalog"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "research",
"frameworks": ["vercel-ai"],
"tools": [
{
"name": "linksCatalogTool",
"description": "Extract and categorize all links from web pages into internal, external, and anchor links",
"parameters": [
{
"name": "url",
"type": "string",
"description": "The URL to fetch and extract links from",
"required": true
}
],
"returns": {
"type": "LinksCatalog",
"description": "Object with internal, external, and anchor links arrays, plus total count"
}
}
]
},
"dependencies": {
"ai": "6.0.0-beta.124",
"cheerio": "^1.0.0"
}
}