visionmedia/npm — pull request #15 by rlidwka (2014-01-23 15:54:42+00:00)
Title: fix github semver support

Your implementation assumes that everything with a slash in it is a github link, which isn't true. Try "npm install senchalabs/connect" or "npm install http://something/tarball.tgz".

I moved everything from `add` function to `maybeGithub` function, where I believe semver belongs to.