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

@asuarezz/scout

v0.1.0

Published

CLI de prospección técnica: encuentra negocios sin web y genera PRDs asistidos por IA

Readme

Scout CLI

CLI de prospección técnica: encuentra negocios sin sitio web y genera PRDs asistidos por IA.

Instalación

npm install -g @asuarezz/scout

Requisito: Node.js ≥ 18. Si no lo tienes:

# macOS / Linux (recomendado)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install --lts

# Windows
winget install OpenJS.NodeJS.LTS

Alternativa — instalador shell:

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/AndresSuarezz/scout/main/install.sh | bash

# Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/AndresSuarezz/scout/main/install.ps1 | iex

Uso rápido

# 1. Configura tus credenciales (solo la primera vez)
scout init

# 2. Inicia una búsqueda
scout

El flujo completo:

  1. Ingresas ciudad y tipo de negocio
  2. Scout consulta Google Places y filtra los que no tienen sitio web
  3. Seleccionas un prospecto con las flechas del teclado
  4. Chateas con la IA para definir el alcance del proyecto
  5. Escribes /done y se genera un PRD_nombre-del-negocio.md

Credenciales necesarias

Necesitas dos API keys antes de usar Scout. Ambas tienen plan gratuito suficiente para uso personal.


1. Google Places API key

Tiempo estimado: 5 minutos

  1. Ve a console.cloud.google.com e inicia sesión con tu cuenta de Google.
  2. Crea un proyecto nuevo (o selecciona uno existente) — click en el selector de proyectos arriba → Nuevo proyecto.
  3. En el menú lateral ve a APIs y serviciosBiblioteca.
  4. Busca "Places API" y haz click en Habilitar.
  5. Ve a APIs y serviciosCredencialesCrear credencialesClave de API.
  6. Copia la key generada.

Límite gratuito: 200 USD de crédito mensual para nuevas cuentas (~2.000 búsquedas de texto gratuitas). Para uso de prospección ocasional nunca llegarás al límite.

Recomendado: en la consola puedes restringir la key para que solo funcione con Places API — click en la key → Restricciones de API → selecciona Places API.


2. Google Gemini API key

Tiempo estimado: 2 minutos

  1. Ve a aistudio.google.com/app/apikey e inicia sesión.
  2. Click en Create API key.
  3. Selecciona el proyecto de Google Cloud donde habilitaste Places (o crea uno nuevo).
  4. Copia la key generada.

Plan gratuito: gemini-1.5-flash y gemini-2.0-flash tienen cuota gratuita generosa (hasta 1.500 requests/día en el tier gratuito). Para generar PRDs de prospección es más que suficiente.


Una vez tengas ambas keys, ejecuta:

scout init

Scout validará cada key en tiempo real y te pedirá elegir el modelo Gemini antes de guardar.

Comandos

scout              # Inicia el flujo de prospección
scout init         # Reconfigura credenciales o cambia el modelo Gemini
scout --help       # Muestra la ayuda
scout --version    # Muestra la versión instalada
scout --verbose    # Activa logs de debug

Comandos dentro del chat:

| Comando | Acción | |---------|--------| | /done | Genera el PRD con la conversación actual | | /back | Vuelve a la lista de prospectos | | /save | Guarda el transcript sin generar PRD |

Selección de modelo Gemini

Durante scout init, después de validar tu API key, Scout lista automáticamente los modelos disponibles para tu cuenta y te permite elegir. Los modelos marcados con ★ son los recomendados por costo/velocidad.

Para cambiar el modelo sin reconfigurar todo:

scout init
# → Elige "No, usar la existente" y luego cambia el modelo

Desarrollo local

git clone https://github.com/AndresSuarezz/scout
cd scout
npm install

npm run dev        # Watch mode: recompila al guardar
node dist/cli.js   # Prueba la CLI compilada

npm test           # Corre los tests
npm run typecheck  # Verifica tipos

Para probar la API de Google Places en aislado:

PLACES_KEY=tu_key npx tsx scripts/test-places.ts "Montería" "Restaurantes"

Troubleshooting

API key inválida — Verifica que la key tiene permisos para Places API o Generative Language API en Google Cloud Console.

Cuota agotada — Google Places tiene límite de requests por día en el plan gratuito. Espera 24h o actualiza el plan.

Modelo no disponible — Ejecuta scout init para seleccionar otro modelo Gemini.

La terminal se ve mal — Scout usa estilos ANSI. Asegúrate de usar una terminal moderna (Windows Terminal, iTerm2, cualquier terminal en Linux/macOS).

Sin resultados — Prueba con un nicho más amplio o una ciudad más grande.

Licencia

MIT © Andrés Suárez