Package Index
OPRA is distributed as a set of focused packages. Install only what your project needs.
Core
| Package | Description |
|---|---|
@opra/common | Runtime document model, data types, decorators, codecs, and shared interfaces used by all packages. |
@opra/core | Schema definitions and core primitives shared across the OPRA ecosystem. |
Transport
| Package | Description |
|---|---|
@opra/http | HTTP transport adapter for building REST APIs with Express or Fastify. |
@opra/kafka | MQ transport adapter for Apache Kafka. |
@opra/rabbitmq | MQ transport adapter for RabbitMQ over AMQP. |
@opra/socketio | WebSocket transport adapter built on Socket.IO. |
NestJS
| Package | Description |
|---|---|
@opra/nestjs | Base NestJS module for integrating OPRA into NestJS applications. |
@opra/nestjs-http | NestJS module for the OPRA HTTP transport adapter. |
@opra/nestjs-kafka | NestJS module for the OPRA Kafka adapter. |
@opra/nestjs-rabbitmq | NestJS module for the OPRA RabbitMQ adapter. |
@opra/nestjs-socketio | NestJS module for the OPRA Socket.IO adapter. |
Data
| Package | Description |
|---|---|
@opra/mongodb | MongoDB data adapter — connects OPRA operations to MongoDB collections. |
@opra/elastic | Elasticsearch data adapter for OPRA operations. |
@opra/sqb | SQL database adapter using the SQB framework. |
Client
| Package | Description |
|---|---|
@opra/client | Type-safe HTTP client for consuming OPRA REST APIs. |
@opra/angular | Angular client module and internationalization support for OPRA APIs. |
Tooling
| Package | Description |
|---|---|
@opra/cli | Command-line tools for code generation, schema validation, and project scaffolding. |
@opra/testing | Testing utilities and in-process adapters for unit and integration tests. |