@proxyshard/shardx 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,26 @@ npm install @proxyshard/shardx
|
|
|
20
20
|
|
|
21
21
|
Supported hosts: **macOS arm64**, **Windows x64**, **Linux x64**. Node ≥ 18.
|
|
22
22
|
|
|
23
|
+
### Linux system dependencies
|
|
24
|
+
|
|
25
|
+
The bundled Chromium engine needs `unzip` + the standard set of shared
|
|
26
|
+
libraries any Chromium fork links against. On a fresh Debian / Ubuntu:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
sudo apt install -y \
|
|
30
|
+
unzip ca-certificates fonts-liberation \
|
|
31
|
+
libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 \
|
|
32
|
+
libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \
|
|
33
|
+
libgbm1 libpango-1.0-0 libcairo2 libasound2 libxshmfence1
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
When launching as **root** or inside **Docker**, pass `--no-sandbox` and
|
|
37
|
+
`--disable-dev-shm-usage` via `extraArgs`:
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
await sdk.session({ ..., extraArgs: ["--no-sandbox", "--disable-dev-shm-usage"] });
|
|
41
|
+
```
|
|
42
|
+
|
|
23
43
|
## Quick start
|
|
24
44
|
|
|
25
45
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proxyshard/shardx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Self-contained Node SDK for the ShardX anti-detect browser — downloads the engine + Widevine + fingerprint library on first use, launches isolated profiles.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|