-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.11 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 4.11 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "wreq-js",
"version": "3.2.0",
"description": "Node.js/TypeScript HTTP client with browser TLS fingerprint impersonation (JA3/JA4). Bypass Cloudflare and anti-bot detection. Rust-powered, fetch()-compatible.",
"type": "module",
"main": "./dist/wreq-js.cjs",
"types": "./dist/wreq-js.d.ts",
"exports": {
".": {
"types": "./dist/wreq-js.d.ts",
"bun": "./dist/wreq-js.cjs",
"require": "./dist/wreq-js.cjs",
"import": "./dist/wreq-js.js",
"default": "./dist/wreq-js.js"
}
},
"scripts": {
"build": "npm run build:rust && npm run build:ts",
"build:rust": "napi build --platform --release --manifest-path rust/Cargo.toml",
"build:ts": "tsdown",
"artifacts": "napi artifacts",
"npm:dirs": "napi create-npm-dirs",
"npm:version": "napi version",
"prepublish:napi": "napi pre-publish --no-gh-release --skip-optional-publish",
"test": "npm run test:run",
"test:run": "tsx src/test/run-with-local-server.ts",
"test:build": "npm run build && npm run test:run",
"test:coverage": "npm run test:coverage:run",
"test:coverage:run": "c8 --reporter=html --reporter=text --reporter=lcov tsx src/test/run-with-local-server.ts",
"test:coverage:ci": "npm run build && npm run test:coverage:run",
"build:bench-server": "cargo build --release --manifest-path rust/bench-server/Cargo.toml",
"bench": "npm run build:rust && npm run build:bench-server && tsx --expose-gc src/bench/run.ts",
"bench:run": "tsx --expose-gc src/bench/run.ts",
"bench:quick": "npm run build:rust && tsx --expose-gc src/bench/run.ts --scenario wreq.session.get.small",
"perf:aws:setup-iam": "bash ./scripts/aws-perf/setup-iam.sh",
"perf:aws:compare": "bash ./scripts/aws-perf/ec2-compare.sh",
"perf:aws:cleanup": "bash ./scripts/aws-perf/cleanup-stale.sh",
"check": "biome check .",
"check:fix": "biome check --write .",
"typecheck": "tsgo --noEmit -p tsconfig.json",
"typecheck:tsc": "tsc --noEmit -p tsconfig.json",
"clean": "rimraf dist rust/target rust/*.node",
"clean:dist": "rimraf dist",
"ci:biome": "biome ci .",
"docs:install": "npm --prefix docs install",
"docs:dev": "npm --prefix docs run dev",
"prepare": "husky"
},
"keywords": [
"cloudflare",
"cloudflare-bypass",
"anti-bot",
"bypass",
"tls-fingerprint",
"browser-fingerprint",
"ja3",
"ja4",
"impersonation",
"browser-emulation",
"tls",
"http2",
"fetch",
"http-client",
"web-scraping",
"web-scraper",
"crawler",
"typescript",
"nodejs",
"rust",
"wreq",
"browser"
],
"author": "Oleksandr Herasymov <herasymov7@icloud.com>",
"contributors": [
"will-work-for-meal"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sqdshguy/wreq-js.git"
},
"bugs": {
"url": "https://github.com/sqdshguy/wreq-js/issues"
},
"homepage": "https://wreq.sqdsh.win",
"devDependencies": {
"@biomejs/biome": "^2.5.14",
"@napi-rs/cli": "^3.10.4",
"@types/node": "^24.13.5",
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
"c8": "^11.0.0",
"husky": "^9.1.7",
"rimraf": "^6.1.3",
"tsdown": "^0.23.0",
"tsx": "^4.23.13",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"optionalDependencies": {
"@wreq-js/binding-darwin-x64": "3.1.0",
"@wreq-js/binding-darwin-arm64": "3.2.0",
"@wreq-js/binding-linux-x64-gnu": "3.1.0",
"@wreq-js/binding-linux-arm64-gnu": "3.1.0",
"@wreq-js/binding-linux-x64-musl": "3.1.0",
"@wreq-js/binding-linux-arm64-musl": "3.1.0",
"@wreq-js/binding-win32-x64-msvc": "3.1.0"
},
"napi": {
"binaryName": "wreq-js",
"packageName": "@wreq-js/binding",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"aarch64-linux-android"
]
}
}