{ "name": "ax-grep", "version": "0.1.0", "description": "A browser-native semantic accessibility tree extractor that runs without DevTools or CDP.", "type": "module", "packageManager": "pnpm@10.33.4", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/hmmhmmhm/ax-grep.git" }, "homepage": "https://github.com/hmmhmmhm/ax-grep#readme", "bugs": { "url": "https://github.com/hmmhmmhm/ax-grep/issues" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./browser": { "types": "./dist/browser.d.ts", "import": "./dist/browser.js" }, "./static": { "types": "./dist/static.d.ts", "import": "./dist/static.js" } }, "bin": { "ax-grep": "./dist/cli.js" }, "files": [ "dist", "skills", "skills.sh" ], "scripts": { "build": "tsup && tsc --noEmit", "check": "tsc --noEmit", "check:processes": "tsx scripts/check-project-processes.ts", "readiness:audit": "tsx scripts/check-agent-readiness.ts", "readiness:real-page-smoke": "tsx scripts/check-real-page-smoke.ts", "readiness:agent-browser-smoke": "tsx scripts/check-agent-browser-smoke.ts", "readiness:agent-browser-text-heavy-smoke": "tsx scripts/check-agent-browser-text-heavy-smoke.ts", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", "compare": "tsx scripts/compare.ts", "compare:static": "tsx scripts/compare-static.ts", "compare:tokens": "tsx scripts/compare-token-cost.ts", "compare:browser:fixture": "tsx scripts/compare-browser-fixture.ts", "compare:gate": "tsx scripts/check-comparison-gates.ts", "compare:sample": "tsx scripts/compare.ts https://example.com https://www.wikipedia.org https://developer.mozilla.org/en-US/docs/Web/Accessibility https://news.ycombinator.com https://github.com/features https://libraries.io/npm/typescript https://www.npmjs.com/package/typescript", "compare:korea": "tsx scripts/compare.ts https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD https://www.hani.co.kr/ https://www.korea.kr/ https://www.yonhapnewstv.co.kr/", "compare:static:fixtures": "tsx scripts/compare-static.ts --target-set agent-fixtures", "compare:static:fixtures:gate": "tsx scripts/check-fixture-static-gate.ts", "compare:static:agent": "tsx scripts/compare-static.ts --target-set agent-executor", "compare:static:korea-social": "tsx scripts/compare-static.ts --target-set korea-social", "compare:tokens:korea-social": "tsx scripts/compare-token-cost.ts --target-set korea-social", "compare:static:china-japan": "tsx scripts/compare-static.ts --target-set china-japan", "compare:tokens:china-japan": "tsx scripts/compare-token-cost.ts --target-set china-japan", "compare:static:diverse": "tsx scripts/compare-static.ts https://www.bbc.com/news https://www.npr.org/2025/03/11/nx-s1-5324543/ntsb-dca-mid-air-collision-american-black-hawk https://www.theguardian.com/international https://www.gov.uk/foreign-travel-advice https://www.nottinghamshire.gov.uk/global-content/how-to-create-accessible-content/how-to-make-web-pages-accessible/checklist-web-page https://books.toscrape.com/ https://old.reddit.com/r/programming/ https://www.reddit.com/r/programming/ https://x.com/NASA https://www.instagram.com/nasa/", "compare:tokens:diverse": "tsx scripts/compare-token-cost.ts https://www.bbc.com/news https://www.npr.org/2025/03/11/nx-s1-5324543/ntsb-dca-mid-air-collision-american-black-hawk https://www.gov.uk/foreign-travel-advice https://books.toscrape.com/ https://old.reddit.com/r/programming/ https://x.com/NASA https://www.instagram.com/nasa/" }, "keywords": [ "accessibility", "a11y", "semantic-tree", "webview", "agent" ], "license": "MIT", "devDependencies": { "@types/node": "^25.0.0", "@vitest/coverage-v8": "4.1.8", "agent-browser": "^0.27.0", "puppeteer": "^24.31.0", "tsup": "^8.5.1", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^4.1.0" }, "dependencies": { "domhandler": "^6.0.1", "htmlparser2": "^12.0.0", "js-tiktoken": "^1.0.21" } }