add support for more npm syntax

+ github shorthand
+ plain urls