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

@ducksguse/news-scraper-sdk

v1.0.0

Published

Official Goose-Powered News Scraper SDK. Honk!

Readme

🦆 @ducksguse/news-scraper-sdk

The Official Goose-Powered News Scraper. Honk-driven intelligence for your application.

This SDK allows you to unleash our digital geese to monitor the web, scrape news, and bring you golden eggs (clusters of data).

Features

  • Goose Vision: Track news by RSS feeds or Google News topics.
  • Flock Clustering: Automatically groups related articles so you don't hear the same honk twice.
  • Noise Filtering: Use negative_keywords to hiss at bad articles.
  • Instant Flight (Backfill): The goose flies back in time (3 days) immediately after you give it a task.
  • Webhooks: Get a "HONK!" notification when new data arrives.

Installation

npm install @ducksguse/news-scraper-sdk
# or
yarn add @ducksguse/news-scraper-sdk

Quick Start

import { GooseNewsClient } from '@ducksguse/news-scraper-sdk';

// Initialize the Goose
const goose = new GooseNewsClient(
  'https://your-news-service-url.com/api/v1',
  'YOUR_API_KEY'
);

// Optional: Check if goose is awake
goose.honk(); // Output: "HONK! The goose is ready to scrape."

async function main() {
  // 1. Give the Goose a Mission (Create Profile)
  const profile = await goose.createProfile({
    name: "Construction Projects - Texas",
    description: "Tracking new hotel construction and renovations in Texas",
    sources: [
      {
        type: "google_news",
        query: "hotel construction Texas",
        language: "en"
      }
    ],
    // Smart Filters
    filters: {
      green_flags: {
        "intent": ["breaking ground", "permit approved"]
      },
      // Hiss at these words (exclude them)
      negative_keywords: ["website redesign", "digital transformation"],
      min_relevance_score: 0.75
    },
    extraction_schema: {
      "project_name": "string",
      "budget": "string"
    },
    schedule: {
      initial_lookback_hours: 72, // Fly back 3 days immediately
      check_interval_hours: 4     // Check again every 4 hours
    }
  });

  console.log(`Mission accepted! Profile ID: ${profile.id}`);
  console.log("The goose has taken flight... 🪿");
}

main();

Core Concepts

Watch Profiles (Missions)

A Watch Profile is a mission you give to the goose. It tells the goose where to look (Sources) and what to ignore (Negative Keywords).

Clusters (Golden Eggs)

The goose doesn't just bring you random sticks. It groups related articles into Clusters. If 10 sources write about the same event, you get 1 Cluster.

Backfill (Time Travel)

When you create a profile, the goose immediately performs a Backfill. It scrapes the history (default: 72 hours) so you get data instantly.

API Reference

goose.createProfile(data)

Creates a new mission. Triggers immediate backfill.

goose.getProfiles()

Lists all active missions.

goose.getProfileClusters(profileId)

Gets the latest golden eggs (clusters) for a specific mission.

goose.honk()

Verifies the client is initialized. HONK!


License

ISC - Made with ❤️ and 🪿 by DucksGuse.