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

buildsight-collector

v1.1.1

Published

CLI do BuildSight para coleta automatizada de commits e métricas de repositórios.

Readme

BuildSight Collector

CLI para coletar commits e métricas de repositórios locais e enviar para a API do BuildSight.

Instalação

Instalar globalmente:

npm install -g buildsight-collector

Ou usar diretamente com npx (sem instalar):

npx buildsight-collector <token>

Comandos

Coletar e enviar dados

Executa a coleta dos repositórios configurados e envia os commits para o BuildSight.

npx buildsight-collector <token>

Configurar repositórios

Abre o assistente interativo para selecionar quais repositórios locais serão monitorados.

npx buildsight-collector config-repos <token>

Dry-run (testar sem gravar)

Executa toda a pipeline de coleta e validação, mas não grava nenhum dado em produção. Útil para verificar o funcionamento antes de subir uma atualização.

npx buildsight-collector <token> --dry-run

O dry-run realiza as mesmas etapas da coleta normal — autenticação, leitura do git, normalização dos commits — e consulta o banco de dados para checar duplicatas, mas não escreve nada. Ao final, exibe um relatório:

🧪 Modo Dry-Run — nenhum dado será gravado em produção.

📂 Testando repositório: meu-projeto
   Período: últimos 7 dia(s) (desde 14/02/2026)

   Amostra de commits que seriam inseridos:
   • [a1b2c3d] João Silva — fix: corrige validação do formulário
   • [e4f5g6h] Maria Santos — feat: adiciona exportação CSV

   📊 Resultado para meu-projeto:
      Commits coletados localmente : 50
      Commits válidos              : 48
      Já existem no banco          : 10
      Seriam inseridos             : 38
      Branches detectadas          : 4
      Arquivos com métricas        : 120

✅ Dry-run concluído. Nenhum dado foi gravado.

Parâmetros

| Parâmetro | Descrição | |---------------|--------------------------------------------------------| | <token> | Token de autenticação gerado pelo BuildSight | | --dry-run | Simula a coleta sem gravar nada no banco de dados |

Requisitos

  • Node.js 14+