sync-rest-client

JSON →
library 1.0.3 ·javascript maintenance
verified Jun 7, 2026

sync-rest-client is a synchronous, non-blocking REST/HTTP client for Node.js built on deasync and request. Version 1.0.3 uses deasync to wrap request, enabling synchronous HTTP calls without blocking the event loop. It supports retries (default 3), timeouts, and graceful error handling. Key differentiator: it avoids thread-blocking issues seen with other sync libraries like sync-request when used alongside async code. Last updated 2018, low maintenance. Use cases: scripts, CLI tools, or scenarios requiring synchronous HTTP operations without event loop blockage.