UNPKG

xscrape

Version:

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

72 lines 1.86 kB
{ "name": "xscrape", "version": "2.0.0", "description": "A flexible and powerful library designed to extract and transform data from HTML documents using user-defined schemas", "main": "dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "typings": "dist/index.d.ts", "files": [ "dist" ], "type": "module", "keywords": [ "web-scraping", "data-extraction", "automation", "html-parsing", "data-transformation", "user-defined-schemas", "crawler", "scraper", "zod", "yup", "joi", "effect-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", "devDependencies": { "@arethetypeswrong/cli": "^0.17.3", "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.28.1", "domhandler": "^5.0.3", "jsdom": "^26.0.0", "prettier": "^3.5.1", "tsup": "^8.3.6", "typescript": "^5.7.3", "vite": "^6.1.1", "vitest": "^3.0.6" }, "dependencies": { "cheerio": "^1.0.0", "effect": "^3.13.2", "joi": "^17.13.3", "yup": "^1.6.1", "zod": "^3.24.2" }, "scripts": { "build": "tsup", "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test", "lint": "tsc", "test": "vitest run", "test:watch": "vitest", "format": "prettier --write ./src", "check-format": "prettier --check ./src", "check-exports": "attw --pack .", "local-release": "npm run ci && changeset version && changeset publish", "release": "npm run ci && changeset publish" } }