ventiws 1.0.0-alpha
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/LICENSE +21 -0
- package/README.md +138 -0
- package/dist/index.cjs +2986 -0
- package/dist/index.d.cts +400 -0
- package/dist/index.d.mts +401 -0
- package/dist/index.mjs +2977 -0
- package/dist/ventiws.node +0 -0
- package/package.json +68 -0
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ventiws",
|
|
3
|
+
"version": "1.0.0-alpha",
|
|
4
|
+
"description": "A drop-in replacement for ws for Node.js, built on the first-party µWebZockets Zig engine via napi-zig.",
|
|
5
|
+
"homepage": "https://github.com/farbenbuilds/ventiws#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/farbenbuilds/ventiws/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": "Noah Trần (https://github.com/Coder-Blue)",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/farbenbuilds/ventiws.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.mjs",
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": {
|
|
25
|
+
"import": "./dist/index.d.mts",
|
|
26
|
+
"require": "./dist/index.d.cts"
|
|
27
|
+
},
|
|
28
|
+
"import": "./dist/index.mjs",
|
|
29
|
+
"require": "./dist/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^26.6.3",
|
|
35
|
+
"@types/ws": "8.18.1",
|
|
36
|
+
"bumpp": "^12.3.0",
|
|
37
|
+
"lefthook": "^2.1.14",
|
|
38
|
+
"napi-zig": "^0.2.8",
|
|
39
|
+
"oxfmt": "^0.70.0",
|
|
40
|
+
"oxlint": "^1.85.0",
|
|
41
|
+
"tsdown": "^0.23.0",
|
|
42
|
+
"typescript": "^7.0.2",
|
|
43
|
+
"vite": "^8.3.0",
|
|
44
|
+
"vitest": "^5.0.2",
|
|
45
|
+
"ws": "8.21.3"
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=22.12.0"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "pnpm run build:binding && tsdown && node scripts/finalize-exports.mjs && pnpm run typecheck:dist",
|
|
52
|
+
"build:binding": "napi-zig build --optimize safe",
|
|
53
|
+
"dev": "tsdown --watch",
|
|
54
|
+
"format": "oxfmt",
|
|
55
|
+
"format:check": "oxfmt --check",
|
|
56
|
+
"lint": "oxlint && node scripts/check-conventions.mjs",
|
|
57
|
+
"finalize:exports": "node scripts/finalize-exports.mjs",
|
|
58
|
+
"lint:fix": "oxlint --fix",
|
|
59
|
+
"test": "pnpm run build:binding && vitest run --no-file-parallelism",
|
|
60
|
+
"test:watch": "pnpm run build:binding && vitest",
|
|
61
|
+
"test:compat": "vitest run tests/conformance",
|
|
62
|
+
"test:autobahn": "node tests/autobahn/run.ts",
|
|
63
|
+
"bench": "node bench/index.ts",
|
|
64
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
|
|
65
|
+
"typecheck:dist": "tsc -p tsconfig.dist-types.json",
|
|
66
|
+
"release": "bumpp"
|
|
67
|
+
}
|
|
68
|
+
}
|