@bechara/crux
v5.9.9
Published
Node.js backend package including: framework (NestJS), HTTP server (Fastify), HTTP client (Fetch), distributed caching (ioredis), ORM (MikroORM), swagger documentation (Redoc), logger (Loki), metrics (Prometheus) and tracing (Tempo with OpenTelemetry).
Downloads
559
Readme
CRUX
A Node.js all-in-one opinionated package intended for backend projects.
- Framework: NestJS
- HTTP Server: Fastify
- HTTP Client: Fetch
- Caching: ioredis (distributed) or in-memory (local)
- ORM: MikroORM
- Swagger: Redoc
- Logs: Loki
- Metrics: Prometheus
- Tracing: Tempo with OpenTelemetry
How to Use
Curated Modules
- [App] Fastify Adapter
- [Cache] Inbound Caching
- [Config] Environment Variables
- [Context] Request, Response and Metadata
- [Doc] Redoc and OpenAPI
- [Http] Fetch API
- [Log] Loki
- [Memory] Volatile Storage with TTL
- [Metric] Prometheus
- [ORM] MikroORM and Schema Sync
- [Promise] Retry, Timeout and Limiting
- [Trace] Open Telemetry
Dependencies
This framework is frequently revised in order to keep dependencies up to date.
However, the following packages are currently behind latest version:
[email protected]
Latest requires ESM