https://docs.npmjs.com/searching-for-and-choosing-packages-to-download
Please note that newly published packages may take up to two weeks to appear in the search results. Additionally, deprecated packages are excluded from the search results to enhance the user experience.
需要实现的需求:
- 支持通过配置设置发布超过 2 周的包才能被搜索出来,默认配置是空,支持自定义时间设置,可以实现按小时、按天、按周
- 支持通过配置设置开启和关闭 deprecated 包搜索过滤,默认配置是过滤 deprecated 的包信息