Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

List hiredis as an optional dependency.

This will cause npm to attempt to install hiredis when installing redis,
but if the hiredis installation fails, it won't cause the redis install
to abort.

The optionalDependencies feature was added pretty much explicitly
for the redis->hiredis use case. :)
  • Loading branch information...
commit 29a416b7a55fc6a90d02aad6475c5215f4be8daf 1 parent 3a7c638
@isaacs isaacs authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  package.json
3  package.json
@@ -22,6 +22,9 @@
"devDependencies": {
"metrics": ">=0.1.5"
+ "optionalDependencies": {
+ "hiredis": "*"
+ }
"repository": {
"type": "git",
"url": "git://"

0 comments on commit 29a416b

Please sign in to comment.
Something went wrong with that request. Please try again.