Open Source
dfsync
A reliable toolkit for service-to-service communication, designed for backend services, microservices, and internal APIs.
The first package, @dfsync/client, is a lightweight HTTP client for Node.js, designed for reliable communication with retries, hooks, and built-in request observability.
Overview
dfsync is an open-source toolkit designed to make service-to-service communication more predictable, reusable, and observable in production systems.
Key capabilities
- Built for microservices, internal APIs, worker processes, and external integrations.
- A clean, predictable HTTP client setup without repeating the same boilerplate in every project.
- Built-in support for bearer tokens, API keys, and custom auth flows.
- Built-in retry policies with Retry-After support and full retry visibility.
- Lifecycle hooks including beforeRequest, afterResponse, onError, and onRetry.
- Built-in request visibility with timing, retry metadata, and lifecycle insights.
- Every request follows a clear, controllable lifecycle with full visibility into execution and retries.
Why I built it
- To reduce repeated HTTP client setup across Node.js services.
- To make retries, timeouts, hooks, and authentication strategies easier to standardize.
- To improve request lifecycle visibility in production-oriented backend systems.
Current focus
- Strengthening reliability and integration safety.
- Improving developer experience through clean APIs and better defaults.
- Expanding documentation and project positioning around service-to-service communication.
