You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I mean is having an endpoint like https://api.npms.io/v2/package/foo/url?redirect that'd reply with a Location: https://github.com/jasonLaster/foo header and 307 status, so that adding https://api.npms.io/v2/package/%s/url?redirect in chrome search engines as npm, I can type npm foo and go to the sources
It's very useful as a browser search engine
Currently I've added https://caub.github.io/misc/npm-to-gh?q=%s in my browser search engines, as 'npm', then I can quickly type
npm
TAB
some-package
ENTER
source: https://github.com/caub/misc/blob/master/npm-to-gh.html#L32-L42
if you could handle it directly it would be ideal, and remove the need of that hacky script
The text was updated successfully, but these errors were encountered: