Blocks reference
Browse the Blockend catalog and open a page for setup, examples, and API details.
Each block page covers what the block does, how to install it, the exact import paths, the public API, and production notes.
If you are new to Blockend, start with the quick start.
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
Add a block
pnpm dlx blockend-cli add <block-key>If you have not initialized the project yet:
pnpm dlx blockend-cli initFor variant selection, dependency prompts, and file conflicts, see Add blocks.