plestik/npm — pull request #1 by smikes (2014-11-24 02:35:43+00:00)
Title: Bin link type

Here is a candidate for the tap tests. I have only tested it on OSX so far.

It appears that setting process.platform does **not** work to to exercise both branches of the "auto" behavior. It may be necessary to pull out the decision code into a separate function to cover it fully.