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

@tvbs-ai/news-rd

v0.3.3

Published

TVBS News Rundown AI CLI — query rundowns, candidates, trends, and prompts

Readme

@tvbs-ai/news-rd

TVBS News Rundown AI CLI — query rundowns, news candidates, Google Trends, and Langfuse prompts.

Install

npm install -g @tvbs-ai/news-rd
# or run directly
npx @tvbs-ai/news-rd --help

Usage

news-rd <group> <command> [args] [options]

Groups

| Group | Description | |-------|-------------| | config | 時段與環境設定 | | rundown | Rundown 查詢與版本比對 | | news | 候選新聞與趨勢關鍵字 | | prompt | Prompt 模板、變數與編譯 | | token | JWT Token 管理 | | completion | Shell auto-completion |

Examples

# List timeslots
news-rd config timeslots

# Get rundown
news-rd rundown get 2026-03-10 0600

# Get news candidates
news-rd news candidates 2026-03-10 0600 --category 政治

# Get Google Trends
news-rd news trends 2026-03-10 0600

# List prompts
news-rd prompt list

# Get compiled prompt
news-rd prompt compile 2026-03-10 0600

Global Options

| Option | Description | Default | |--------|-------------|---------| | --base-url URL | API base URL | https://news-rundown.tvbs.ai | | --token TOKEN | JWT token (or RD_TOKEN env) | — | | --json | Raw JSON output | — | | --version, -v | Show version | — | | --help, -h | Show help | — |

Environment Variables

| Variable | Description | |----------|-------------| | RD_BASE_URL | API base URL | | RD_TOKEN | JWT authentication token |

Shell Completion

# Bash — add to ~/.bashrc
echo 'source <(news-rd completion bash)' >> ~/.bashrc

# Zsh — add to ~/.zshrc
echo 'source <(news-rd completion zsh)' >> ~/.zshrc

Completion auto-updates when the CLI is updated.

Update

The CLI automatically checks for new versions and shows a hint after command output. To update:

npm install -g @tvbs-ai/news-rd@latest

Requirements

  • Node.js >= 18 (uses built-in fetch)
  • A running TVBS News Rundown AI server

Documentation

License

UNLICENSED