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

@shepherd-terminal/reacher

v0.3.0

Published

CLI tool for scraping LinkedIn and Google Maps to find businesses by type and location

Readme

reacher

A CLI tool for scraping business listings from Google Maps and LinkedIn by business type and location.

Installation

npm install -g @shepherd-terminal/reacher

Or run without installing:

npx @shepherd-terminal/reacher search --type "dentist" --location "London"

Requirements

  • Node.js >= 18.0.0
  • Playwright Chromium browser (installed automatically with the package)

If Chromium is not installed, run:

npx playwright install chromium

Usage

reacher search [options]

Options

| Flag | Alias | Description | Default | |------|-------|-------------|---------| | --type <business-type> | -t | Business type to search for (required) | — | | --location <location> | -l | Location to search in | — | | --limit <number> | -n | Maximum number of results | 20 | | --source <source> | -s | Data source: google, linkedin, or all | google | | --no-headless | | Show the browser window while scraping | headless | | --json | -j | Output results as JSON | table |

Examples

Search for dentists in London on Google Maps:

reacher search --type "dentist" --location "London"

Search both Google Maps and LinkedIn with a higher limit:

reacher search --type "gym" --location "Manchester" --source all --limit 50

Output results as JSON:

reacher search --type "restaurant" --location "Edinburgh" --json

Show the browser while scraping (useful for debugging):

reacher search --type "plumber" --location "Bristol" --no-headless

Output

By default, results are printed as a formatted table:

Name                  Address                  Phone          Rating  Source
--------------------  -----------------------  -------------  ------  ------
Dental Care London    123 High St, London      020 1234 5678  4.8     google
City Smiles           45 Baker St, London      020 9876 5432  4.6     google

With --json, results are output as a JSON array:

[
  {
    "name": "Dental Care London",
    "businessType": "dentist",
    "address": "123 High St, London",
    "phone": "020 1234 5678",
    "website": "https://dentalcarelondon.co.uk",
    "rating": 4.8,
    "reviewCount": 312,
    "googleMapsUrl": "https://maps.google.com/...",
    "source": "google",
    "scrapedAt": "2024-01-15T10:30:00.000Z"
  }
]

Library Usage

Reacher can also be used programmatically:

import { scrapeGoogle, scrapeLinkedIn } from "@shepherd-terminal/reacher";
import type { BusinessResult, BrowserOptions } from "@shepherd-terminal/reacher";

const options: BrowserOptions = { headless: true };

const googleResults: BusinessResult[] = await scrapeGoogle("dentist", "London", 20, options);
const linkedinResults: BusinessResult[] = await scrapeLinkedIn("dentist", "London", 20, options);

License

MIT