npms-io / npms-analyzer

The analyzer behind https://npms.io
MIT License
314 stars 37 forks source link

feat: allow customizable extraction limits #239

Closed zxaos closed 1 year ago

zxaos commented 5 years ago

The hard-coded download size limit causes several extremely large (but popular) packages to fail the analysis process, such as typescript. Compare with typescript on npms.io which shows an old version.

This PR increases the limit to stop this failure, and also extracts the limits into external config so that they can be changed again more easily in the future if required.