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

it4-tools

v0.1.2

Published

Bootstrap público: autentica no Azure Artifacts da IT4 e instala @it4solution/tools.

Readme

it4-tools (bootstrap público)

Bootstrap de auth da IT4 Solution. Roda uma vez numa máquina nova pra configurar o ~/.npmrc apontando pro feed Azure Artifacts privado e (por default) instalar globalmente @it4solution/tools.

Não confundir com @it4solution/tools — este package (it4-tools, unscoped, no npmjs.com público) só faz bootstrap. A CLI real é o @it4solution/tools (privado, feed Azure), que esse bootstrap instala no final.

Uso

npx -y it4-tools

Fluxo:

  1. Device code flow — abre uma URL + código no navegador pra você logar com sua conta IT4 (Azure AD).
  2. Cria um PAT (Personal Access Token) no Azure DevOps com scope vso.packaging (read), válido por 90 dias, com displayName="it4-tools (<hostname>)".
  3. Escreve ~/.npmrc com o token. Migra config IT4 antiga (substitui linhas do feed IT4 com token vencido/compartilhado), preserva tudo que não é IT4.
  4. npm i -g @it4solution/tools — instala o core do CLI (bin it4).

O CLI é core + plugins por capacidade: o core traz só auth/config. Instale os plugins que for usar (o mesmo ~/.npmrc configurado acima autentica o download deles):

it4 plugins install @it4solution/plugin-create          # cria projetos
it4 plugins install @it4solution/plugin-skills          # skills do Claude Code
it4 plugins install @it4solution/plugin-publish-nuget   # publica libs .NET
it4 plugins                                             # lista o que está instalado

Depois disso, it4 --help mostra os comandos disponíveis. Pra re-logar quando o PAT expirar (em ~90 dias), rode de novo npx -y it4-tools ou it4 auth login (mesmo caminho).

Flags

| Flag | Default | Descrição | | ----------------------- | --------------- | --------------------------------------------------------------------------------------------------- | | --no-install | — | Configura .npmrc mas não instala o CLI globalmente. | | --cli-version <v> | latest | Versão específica do @it4solution/tools a instalar. | | --pat-validity <dias> | 90 | Validade do PAT em dias (máx 365). | | --scope <s> | vso.packaging | Scope do PAT (vso.packaging = read; vso.packaging_write = read+write, necessário pra publicar). | | --dry-run | — | Autentica e mostra o .npmrc que seria escrito, sem salvar. | | --help, -h | — | Mostra essa ajuda. |

Troubleshooting

  • Browser não abre / sem internet no terminal: copie a URL e o código manualmente pra outra máquina/celular e cole lá. O device flow tolera ambientes headless por design.
  • AADSTS... no login: sua conta provavelmente não tem permissão no tenant da IT4. Fale com o time de TI/identidade.
  • PAT criado mas npm install ainda dá 401: confira npm config get userconfig — deve apontar pro mesmo ~/.npmrc que o bootstrap escreveu. Em alguns setups (corp Windows com npmrc em AppData\Roaming), pode haver divergência.

Mais detalhes

Spec canônica: ver docs/specs/04-auth-bootstrap.md no repo @it4solution/tools.