npm / npm-registry-client

http://npm.im/npm-registry-client
ISC License
264 stars 108 forks source link

Decode the package name from the request URL #108

Closed mmalecki closed 9 years ago

mmalecki commented 9 years ago

Present the decoded package name in the error message if present.

Fixes npm/registry-frontdoor#116. Fixes npm/npme-auth-userapi#16.

othiym23 commented 9 years ago

Could you add a test to this to catch regressions, and also to document what the registry is likely to be sending? A bunch of the existing tests show how to use the existing (built-in, not npm-registry-mock) mock registry. Thanks!