ventiws 1.0.0-beta.5 → 1.0.0-rc.0
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 +10 -1
- package/dist/index.cjs +307 -190
- package/dist/index.mjs +307 -190
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ observable behaviour rather than its source. ventiws is not affiliated with the
|
|
|
12
12
|
as the pinned contract, credited in
|
|
13
13
|
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
|
|
14
14
|
|
|
15
|
-
**ventiws is at `1.0.0-
|
|
15
|
+
**ventiws is at `1.0.0-rc.0`.** The surface may change between beta
|
|
16
16
|
releases. What "beta" means here is bounded: the `ws` compatibility
|
|
17
17
|
contract is tracked row by row in
|
|
18
18
|
[COMPATIBILITY.md](COMPATIBILITY.md), and the four places ventiws knowingly
|
|
@@ -94,6 +94,14 @@ Both halves run against a real `ws` peer in this repository's suites, and the
|
|
|
94
94
|
constructors are plain functions returning state records: no `class`, no `this`,
|
|
95
95
|
no prototype.
|
|
96
96
|
|
|
97
|
+
### Examples
|
|
98
|
+
|
|
99
|
+
[examples/](examples/) holds the same echo server and client for Node.js, Bun,
|
|
100
|
+
and Deno, each a standalone project with a `package.json` and no build step:
|
|
101
|
+
Node.js strips the types itself, and Bun and Deno run TypeScript natively. The
|
|
102
|
+
commands, and the permissions Deno needs, are in
|
|
103
|
+
[examples/README.md](examples/README.md).
|
|
104
|
+
|
|
97
105
|
### Dev logger
|
|
98
106
|
|
|
99
107
|
ventiws prints lifecycle records as they happen: the splash when a server starts
|
|
@@ -169,6 +177,7 @@ pnpm format:check
|
|
|
169
177
|
- [CODING_CONVENTION.md](CODING_CONVENTION.md): TypeScript and Zig style, the anti-OOP rules, and the module budget.
|
|
170
178
|
- [docs/migrating.md](docs/migrating.md): moving an existing `ws` application over.
|
|
171
179
|
- [docs/logging.md](docs/logging.md): the opt-in dev logger and startup splash.
|
|
180
|
+
- [docs/performance.md](docs/performance.md): the benchmark harness, its fairness rules, and the durable benchmark-data history.
|
|
172
181
|
- [CONTRIBUTE.md](CONTRIBUTE.md): environment setup, the script contract, and how to release.
|
|
173
182
|
|
|
174
183
|
MIT. See [LICENSE](LICENSE). `ws` is copyright Einar Otto Stangvik, Arnout
|