Packages
The Vovk.ts repository holds the npm packages, the examples, the performance tests and this documentation.
npm Packages
vovk
The runtime library: decorators, utilities, types and other code used on the server and on the client. Its only peer dependency is openapi3-ts , for types, and Bundlephobia reports it as 100% self-composed.
npm install vovk openapi3-tsvovk-cli
The CLI. Install it globally or as a dev dependency. It provides the vovk binary.
npm install vovk-cli --save-devnpx vovk-cli <command>Or:
npx vovk <command>vovk-ajv
Exports validateOnClient, which validates input on the client with the emitted JSON Schema.
npm install vovk-ajvvovk-python
Templates and utilities that generate the Python client library.
npm install vovk-python --save-devvovk-rust
Templates and utilities that generate the Rust client library.
npm install vovk-rust --save-devExamples and Other Folders
examples/kitchen-sink
Examples and proofs of concept, served at examples.vovk.dev . Its client library is published to npm as vovk-examples , and this site uses it.
examples/hello-world
A minimal Vovk.ts example, served at hello-world.vovk.dev . See the “Hello World” page. Its client library is published as vovk-hello-world on npm , crates.io and PyPI .
examples/multitenant
Shows multitenancy with Vovk.ts, served at multitenant.vovk.dev .
examples/realtime-kanban
A realtime Kanban board built with Vovk.ts, described in the Realtime Kanban series of articles.
perf
Overhead performance tests for Vovk.ts.
docs
This documentation, served at vovk.dev .