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

@skip-ai/scanner

v0.9.0

Published

Scanner CLI para a plataforma Skip AI Accessibility Layer

Downloads

368

Readme

@skip-ai/scanner

Scanner CLI da plataforma Skip AI Accessibility Layer.

Em uma única linha, o scanner detecta o framework do projeto, extrai rotas, componentes, eventos e chamadas de API, mascara secrets e envia o relatório para a API web da Skip, aguardando o enriquecimento com IA.

Uso (npx)

npx @skip-ai/scanner --token=SEU_TOKEN_AQUI

Não requer instalação prévia — o npx baixa e executa na hora.

Opções

| Flag | Descrição | Padrão | |------|-----------|--------| | -t, --token <token> | Token do projeto (obrigatório) | — | | -u, --url <url> | URL da plataforma Skip | https://app.goskip.dev | | -d, --dir <dir> | Diretório raiz do projeto | process.cwd() | | -i, --ignore <patterns...> | Padrões extras a ignorar (glob) | [] | | --dry-run | Apenas escaneia, sem enviar para a API | false | | -v, --verbose | Exibe o payload JSON no terminal | false |

Desenvolvimento

npm install
npm run build     # gera dist/
npm test          # roda os testes com vitest
npm run dev       # executa via tsx (sem build)
node dist/index.js --token=TEST --dir=./tests/fixtures/nextjs-app --dry-run --verbose

Segurança

Antes do envio, o scanner mascara automaticamente possíveis secrets (OpenAI/AWS/GitHub/Slack keys, JWTs, senhas em env). O payload é limitado a 5 MB (HTTP 413 caso exceda).

Mapa de navegação (núcleo do produto)

O scanner não envia apenas um JSON — ele constrói um mapa de navegação agrupado por tela, onde cada tela tem suas próprias ações (botões, links e inputs), com seletor CSS e anchorId para o widget emular o clique e preencher campos em runtime.

Além do mapa estruturado, o payload inclui:

  • briefing: resumo em linguagem natural das telas e ações, pronto para a IA interpretar intenções de voz (ex.: "quero ir pra configurações").
  • widgetSnippet: snippet JS que o widget carrega no site do cliente para auto-injetar data-skip-anchor nos elementos mapeados — funciona mesmo sem o desenvolvedor marcar nada.
  • navigationGraph: arestas de navegação (de → para) para a IA planejar caminhos entre telas, incluindo navegação global de sidebar/navbar.

Como o widget usa (exemplo)

// navigationMap.screens[rotaAtual].actions → só as ações da tela em que o usuário está
{
  "label": "Entrar", "kind": "submit",
  "selector": "#btn-entrar", "anchorId": "btn-entrar"
}

O widget clica via document.querySelector('[data-skip-anchor=btn-entrar]').click().

Escape para navegação dinâmica

Botões cuja navegação depende de runtime não são resolúveis estaticamente. Nestes casos, o desenvolvedor pode marcar manualmente:

<button data-skip-action="navigate:/checkout">Finalizar</button>

O scanner lê esse atributo com prioridade.

Frameworks suportados

  • Next.js App Router (src/app/**/page.tsx)
  • Next.js Pages Router (src/pages/**)
  • Vite + React/Vue (componentes)
  • NestJS, Django, FastAPI (detecção)