npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-new-digest

v1.0.0

Published

AI 新闻聚合 CLI 工具 — 从多个 RSS 源抓取最新 AI 资讯,生成 Markdown 日报

Readme

AI News Digest 📰

一个命令行 AI 新闻聚合工具,从多个 RSS 源抓取最新 AI 资讯,自动生成 Markdown 日报。

数据源

| 源 | 说明 | |---|---| | TechCrunch AI | TechCrunch 人工智能专栏 | | The Verge AI | The Verge AI/Artificial Intelligence 频道 | | Hacker News | HN 最新帖中含 AI 关键词的前 30 条 |

快速开始

# 安装依赖
npm install

# 抓取最近 24 小时的 AI 新闻
npm start

# 抓取最近 N 天
npx tsx src/index.ts --days=3

输出

日报生成在 output/ 目录,文件名格式 ai-news-YYYY-MM-DD.md,包含:

  • 统计摘要(收录篇数、来源数量)
  • 每篇文章的标题、链接、来源、发布时间、摘要(前 100 字)
  • 按时间倒序排列

技术栈

  • TypeScript + tsx 运行时
  • rss-parser 解析 RSS/Atom

项目结构

src/
├── index.ts    # 入口:CLI 解析、流程编排、Markdown 生成
├── fetcher.ts  # RSS 抓取与数据归一化
├── filter.ts   # 时间窗口过滤
└── types.ts    # 类型定义
output/         # 日报输出目录