Public packages
Install voltts for the bundled exports or individual @voltts packages for a smaller import surface. The public scope is @voltts, not @volt.
| Package | Main API | Guide |
|---|---|---|
| @voltts/core | Volt, VoltContext, HttpError | Application |
| @voltts/router | Router, TrieRouter | Routing |
| @voltts/validator | t, compile, Static | Validation |
| @voltts/serializer | json, text, html, binary, stream | Responses |
| @voltts/middleware | cors, logger, rateLimit, secureHeaders, timeout | Middleware |
| @voltts/di | Container | Dependency Injection |
| @voltts/openapi | openapi, swagger | OpenAPI |
| @voltts/testing | createTestClient | Testing |
| @voltts/jwt | sign, verify, decode, jwt | Authentication |
| @voltts/cache | cache, MemoryCacheStore, RedisCacheStore | Caching |
| @voltts/jobs | JobQueue | Jobs |
| @voltts/node | serve, createNodeServer, createNodeHandler | Node adapter |
| @voltts/websocket | WebSocketManager | WebSockets |
| @voltts/cli | volt executable | CLI |
| voltts | Framework and plugin exports | Quick Start |
Official plugins
The repository includes plugin-cors, plugin-jwt, plugin-redis, plugin-postgres, plugin-logger, plugin-graphql, plugin-prisma, plugin-cookies, and plugin-rate-limit under @voltts. Each plugin's guide explains setup and current limitations. Redis and PostgreSQL defaults do not connect to external services.