Wrote an article
There are different ways to pass parameters to Redis createClient method in NodeJS. To connect to Azure Cache For Redis from NodeJS the format given in Microsoft article may not work if the Redis version is higher than 3.0.0. The new format is in this article. It is tested and confirmed that connection is established to Azure cache for redis from NodeJS using Redis client 4.0.1.