I see that installing hiredis requires a format I’ve not seen before. Instead of the expected:
npm install hiredis
…the format is actually:
npm install hiredis redis
How should I go about adding hiredis to my package.json dependencies so that it installs properly?
The
redismodule will automatically usehiredisif it’s available.is identical to
In short, just include it in your
package.jsonlike any other module.