Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.32 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "captcha-detector",
"version": "1.0.0",
"description": "Detect whether a web page contains a captcha or bot check: reCAPTCHA, hCaptcha, Turnstile, Cloudflare, Arkose, GeeTest, AWS WAF, DataDome, PerimeterX, Akamai, Imperva and 60+ more. Works in the browser, Playwright, Puppeteer, Selenium and on raw HTML in Node. Zero dependencies.",
"keywords": [
"captcha",
"captcha-detection",
"detect-captcha",
"recaptcha",
"hcaptcha",
"turnstile",
"cloudflare",
"bot-detection",
"anti-bot",
"challenge",
"datadome",
"perimeterx",
"akamai",
"geetest",
"arkose",
"funcaptcha",
"scraping",
"playwright",
"puppeteer",
"selenium"
],
"license": "MIT",
"author": "ScrapePass (https://scrapepass.com)",
"homepage": "https://github.com/ScrapePass/captcha-detector",
"repository": {
"type": "git",
"url": "git+https://github.com/ScrapePass/captcha-detector.git"
},
"bugs": "https://github.com/ScrapePass/captcha-detector/issues",
"main": "./dist/captcha-detector.js",
"module": "./dist/captcha-detector.mjs",
"browser": "./dist/captcha-detector.js",
"unpkg": "./dist/captcha-detector.js",
"jsdelivr": "./dist/captcha-detector.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/captcha-detector.mjs",
"require": "./dist/captcha-detector.js",
"default": "./dist/captcha-detector.js"
},
"./page": {
"types": "./page.d.ts",
"import": "./lib/page.mjs",
"require": "./lib/page.cjs"
},
"./script": "./dist/captcha-detector.js",
"./package.json": "./package.json"
},
"bin": {
"captcha-detector": "bin/captcha-detector.js"
},
"files": [
"dist",
"lib",
"bin",
"index.d.ts",
"page.d.ts"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"build": "node scripts/build.mjs",
"test": "node scripts/build.mjs && node --test test/html.test.mjs test/browser.test.mjs",
"test:live": "node scripts/build.mjs && node test/live.mjs",
"prepublishOnly": "npm test",
"test:python": "node scripts/build.mjs && cd \"${CAPTCHA_DETECTOR_PYTHON:-../captcha-detector-python}\" && PYTHONPATH=src python3 -m unittest discover -s tests -t ."
},
"devDependencies": {
"playwright": "^1.48.0"
}
}