{ "name": "@tpmjs/tools-fetch-text", "version": "0.2.0", "description": "Fetch a URL and return plain text content with metadata", "type": "module", "keywords": [ "tpmjs", "web", "fetch", "text", "scraping" ], "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:*", "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/fetch-text" }, "homepage": "https://tpmjs.com", "license": "MIT", "tpmjs": { "category": "web", "frameworks": [ "vercel-ai" ], "tools": [ { "name": "fetchTextTool", "description": "Fetch a URL and return plain text content with metadata", "parameters": [ { "name": "url", "type": "string", "description": "The URL to fetch", "required": true } ], "returns": { "type": "FetchTextResult", "description": "Object with text content, URL, content length, and content type" } } ] }, "dependencies": { "ai": "6.0.49" } }