lilydjwg / nvchecker

New version checker for software releases
MIT License
438 stars 70 forks source link

npm: Fetch only first 1KB #151

Closed felixonmars closed 4 years ago

felixonmars commented 4 years ago

The result is still large even after specifying "Accept: application/vnd.npm.install-v1+json". Since the content we need are always at the beginning of the response, let's make it more violent.