UNPKG

xscrape

Version:

A flexible and powerful library designed to extract and transform data from HTML documents using user-defined schemas

86 lines 2.39 kB
{ "dependencies": { "@standard-schema/spec": "^1.1.0", "cheerio": "^1.2.0", "domhandler": "^5.0.3" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@biomejs/biome": "2.4.15", "@changesets/changelog-github": "^0.7.0", "@changesets/cli": "^2.31.0", "@size-limit/preset-small-lib": "^12.1.0", "@types/node": "^25.8.0", "arktype": "^2.2.0", "effect": "^3.21.2", "jsdom": "^29.1.1", "lefthook": "^2.1.6", "publint": "^0.3.21", "size-limit": "^12.1.0", "tsdown": "^0.22.0", "typescript": "^6.0.3", "ultracite": "7.7.0", "valibot": "^1.4.0", "vite": "^8.0.13", "vitepress": "^1.6.4", "vitest": "^4.1.6", "zod": "^4.4.3" }, "name": "xscrape", "type": "module", "version": "4.0.0", "description": "A flexible and powerful library designed to extract and transform data from HTML documents using user-defined schemas", "main": "dist/index.mjs", "exports": { ".": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } }, "typings": "dist/index.d.mts", "files": [ "dist" ], "keywords": [ "web-scraping", "data-extraction", "automation", "html-parsing", "data-transformation", "user-defined-schemas", "crawler", "scraper", "zod", "valibot", "arktype", "effect-schema", "standard-schema" ], "author": "Johnie Hjelm <johnie@hjelm.im>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/johnie/xscrape.git" }, "bugs": { "url": "https://github.com/johnie/xscrape/issues" }, "homepage": "https://github.com/johnie/xscrape#readme", "scripts": { "build": "tsdown", "size": "size-limit", "ci": "pnpm run build && pnpm run check && pnpm run typecheck && pnpm run check-exports && pnpm run test && pnpm run size", "typecheck": "tsc", "test": "vitest run", "test:watch": "vitest", "check": "ultracite check", "fix": "ultracite fix", "check-exports": "attw --pack . --profile esm-only", "version": "changeset version && pnpm run fix", "local-release": "pnpm run ci && pnpm run version && changeset publish", "release": "pnpm run ci && changeset publish", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs" } }