redis-url-plus
JSON →A Redis connection string parser that supports standalone, cluster, sentinel, and Unix socket URLs, aligning with Redis-CLI command formats. Current stable version is 1.2.1. The library handles multiple Redis URL syntaxes in a single call, returning structured objects with host, port, db, password, and cluster node arrays. It supports Node 10+. Key differentiators: built-in cluster detection (redis-cluster://) and sentinel support (redis-sentinel://) with master name parsing, unlike simpler parsers.
Resources
packageredis-url-plus ↗