npm / npm-registry-client

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

Corgi is not used by default #154

Open zkochan opened 7 years ago

zkochan commented 7 years ago

Documentation says that

fullMetadata {Boolean} If true, don't attempt to fetch filtered ("corgi") registry metadata. (default: false)

So I assumed "corgi" is used by default. However, I checked and it does not work by default.

I looked into the code and found this line https://github.com/npm/npm-registry-client/blob/832024725f8ae90f9ad75d5c2c885ef8e6e6dec9/lib/request.js#L119

So where is the mistake? In the README or in the code?

(might be a duplicate of https://github.com/npm/npm-registry-client/issues/153)