cnpmcore icon indicating copy to clipboard operation
cnpmcore copied to clipboard

搜索需要过滤 deprecated 的版本信息

Open fengmk2 opened this issue 2 months ago • 1 comments

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 的包信息

fengmk2 avatar Oct 24 '25 06:10 fengmk2

https://chatgpt.com/share/68fb1991-36bc-8010-9fec-e0182f5ded5d

fengmk2 avatar Oct 24 '25 06:10 fengmk2