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

@bforgeio/piunter

v1.2.2

Published

CLI para limpeza e otimização de sistemas Linux

Readme

piunter

CLI para limpeza e otimização de sistemas Linux.

Uso Rápido (sem instalar)

Execute diretamente com npx:

# Modo interativo
npx piunter

# Limpar tudo
npx piunter --all

# Limpar específicos
npx piunter --npm --cache --logs

# Simular (dry-run)
npx piunter --all --dry-run

Instalação Global (opcional)

Se preferir instalar permanentemente:

npm install -g @bforgeio/piunter

Após instalado, use diretamente:

piunter --all

Recursos

  • Detecção automática de distribuição (Debian, Ubuntu, Arch, Fedora)
  • Suporte a APT, Pacman e DNF
  • 14 módulos de limpeza
  • Modo interativo com seleção por checkbox
  • Dry-run para simular antes de executar
  • Confirmação obrigatória para operações destrutivas
  • Sistema de plugins
  • Shell completion (bash/zsh)
  • Config file personalizável

Módulos

| Módulo | Flag | Descrição | | ----------- | --------------- | ------------------------- | | Pacotes | --packages | Remove pacotes órfãos | | NPM | --npm | Limpa cache do npm | | Yarn | --yarn | Limpa cache do Yarn | | PNPM | --pnpm | Limpa cache do pnpm | | Cache | --cache | Limpa ~/.cache | | Flatpak | --flatpak | Remove dados órfãos | | Snap | --snap | Remove revisões antigas | | Docker | --docker | Remove containers/imagens | | Logs | --logs | Limpa logs do sistema | | Large Files | --large-files | Encontra arquivos grandes | | AppImage | --appimage | Gerencia AppImages | | Thumbs | --thumbs | Remove miniaturas | | Recent | --recent | Limpa arquivos recentes | | Analyze | --analyze | Analisa uso de disco |

Flags

| Flag | Descrição | | ---------------- | ------------------------------------ | | --all | Executa todos os módulos | | --analyze | Analisa sem limpar | | --dry-run | Simula execução | | --force | Pula confirmações | | --threshold=MB | Tamanho mínimo para arquivos grandes | | --config | Arquivo de configuração customizado |

Documentação

Documentação completa disponível em: https://joaomjbraga.github.io/piunter/docs.html

Desenvolvimento

# Instalar dependências
npm install

# Build
npm run build

# Testes
npm test

# Lint
npm run lint

Segurança

  • Nunca executa operações sem confirmação (exceto com --force)
  • Dry-run disponível para testar antes
  • Verifica comandos antes de executar
  • Tratamento robusto de erros
  • Cálculo preciso de espaço liberado (antes/depois)
  • Timeout de 30s para prompts de senha sudo
  • Sem command injection (pacotes processados de forma segura)

Config File

Crie ~/.piunter.json:

{
  "threshold": 100,
  "modules": {
    "npm": true,
    "cache": true,
    "logs": true
  }
}

Compatibilidade

  • Debian/Ubuntu (APT)
  • Arch/Manjaro (Pacman)
  • Fedora/RHEL (DNF)

Licença

MIT - João Braga

Contribuindo

Veja CONTRIBUTING.md