Blocks Reference
Browse all available backend blocks.
Browse the complete catalog of Blockend backend blocks. Each block is production-ready, type-safe, and framework-agnostic.
Select a block below to view detailed documentation, installation instructions, API reference, and usage examples.
Token Service
token-serviceJWT access tokens and rotating opaque refresh tokens with pinned keys and shared stores.
Password Hashing
password-hashArgon2id password hashing with HMAC-SHA256 peppering, automatic salting, and rehash detection.
Idempotency
idempotencyExactly-once request execution with pluggable stores and cache, plus an Express adapter
Graceful Shutdown
graceful-shutdownDependency-free graceful shutdown with in-flight request draining and per-framework adapters
System Health Check Monitoring
health-checkFramework-agnostic health assessment suite.
Environment Configuration
env-configType-safe environment variable validation using Zod.
Response Formatter
response-formatterFramework-agnostic API response formatting.
Request Validator
request-validatorFramework-agnostic request validation powered by Zod.
Structured Context Logger
loggerFramework-agnostic context logging engine.
Error Boundary
error-handlerFramework-agnostic error normalization, safe serialization, and optional reporting with HTTP adapters.
Rate Limiter
rate-limiterIP-based rate limiting middleware with pluggable storage strategies
Adding a Block
To install any of these blocks into your project:
npx blockend-cli add <block-key>First make sure your project is initialized:
npx blockend-cli init