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

@newsriver/eliza-plugin

v2.1.0

Published

ElizaOS plugin for the NewsRiver Global Intelligence API. 8 actions: intelligence briefings, semantic search, articles, trends, AskRiver AI chat, email/SMS/scrape proxies. Supports x402 micropayments and API key auth.

Readme

@newsriver/eliza-plugin

The official ElizaOS plugin for the NewsRiver Global Intelligence API.

Connects your Eliza agent to NewsRiver's global news intelligence platform — 277+ sources across 137 countries, AI-generated briefings, semantic vector search, and secure Web2 proxies (email, SMS, scraping).

Installation

npm install @newsriver/eliza-plugin

Authentication

Option 1: API Key (Subscription)

Get an API key from NewsRiver and add it to your .env:

NEWSRIVER_API_KEY=nrk_live_your_key_here

Security: Keys are SHA-256 hashed server-side. Never stored in plaintext. Analytics logs mask keys to last 4 chars only.

Option 2: x402 Micropayments (No API Key)

If your Eliza agent has a wallet on Base network, it can handle HTTP 402 responses and pay per-request in USDC. Requires @x402/core.

⚠️ Spending Safety: Use a limited allowance contract (e.g., PaySponge) to cap spending. Never give the agent full wallet access.

Usage

import { newsRiverPlugin } from "@newsriver/eliza-plugin";

const myAgent = {
  name: "CryptoTraderBot",
  plugins: [newsRiverPlugin]
};

Actions (7)

| Action | Cost | Description | |---|---|---| | GET_NEWSRIVER_INTELLIGENCE | $0.02–$0.10 | Fetch AI intelligence briefings (hourly=$0.02, daily/weekly/monthly=$0.10) | | SEARCH_NEWSRIVER | $0.001 | Semantic vector search across all articles | | GET_NEWSRIVER_ARTICLES | $0.001 | Fetch latest news articles | | GET_NEWSRIVER_TRENDS | $0.001 | Sentiment trend timelines for any topic | | NEWSRIVER_SEND_EMAIL | $0.05 | Send email via proxy (50/hr limit) | | NEWSRIVER_SEND_SMS | $0.25 | Send SMS via proxy (10/hr limit) | | NEWSRIVER_SCRAPE | $0.10 | Scrape public webpages (SSRF-protected) |

⚠️ Outbound Proxy Actions

NEWSRIVER_SEND_EMAIL and NEWSRIVER_SEND_SMS send real messages. The agent should always confirm with the user before executing these actions. The API enforces:

  • Hardcoded sender identity ([email protected])
  • Rate limits per IP and per wallet
  • SMS messages prefixed with [NewsRiver Agent]

Testing with Dry-Run

Test any action for free using the X-Dry-Run: true header. Returns mock data labeled [SAMPLE]:

curl -H "X-Dry-Run: true" https://api.yieldcircle.app/api/v1/articles

Links

  • API Docs: https://agent.yieldcircle.app/#docs
  • Pricing: https://agent.yieldcircle.app/#pricing
  • Support: [email protected]