A dependency-free JavaScript library for controlling the aria2 downloader over JSON-RPC via HTTP and WebSocket transports.