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

void2fa

v2.0.1

Published

A CLI tool for managing 2FA authentication accounts.

Readme

🔐 void2FA CLI

GitHub repo size GitHub License GitHub package.json version

typescript SQLite NodeJs Npm

Interface de linha de comando (CLI) para gerenciar contas de autenticação de dois fatores (2FA – TOTP/HOTP), gerar códigos temporários e copiá-los automaticamente para a área de transferência.

📋 Requisitos

  • 🟢 Node.js 20+
  • 🔑 Um sistema de chaveiro compatível com keytar no seu sistema operacional

📦 Instalação

npm install -g void2fa

🚀 Comandos Disponíveis

Fundamentais

  • ping — Mostra a versão, o modo dev e responde “Pong!” para verificar a instalação.
  • create [name] [issuer] [secret] — Cria uma conta via argumentos ou prompt interativo; configure algoritmo (--algorithm/-a), contador inicial (--counter/-c), período TOTP (--period/-p), tipo (--type/-t), dígitos (--digits/-d) e codificação (--encoding/-e).
  • edit [query] — Atualiza uma conta por ID/nome ou selecionando interativamente; use --name/-n, --issuer/-i, --secret/-s, --algorithm/-a, --encoding/-e, --digits/-d, --period/-p, --counter/-c e --type/-t para mudar campos específicos.
  • delete [query] — Remove uma conta após seleção e confirmação; pode receber ID/nome ou abrir o prompt para escolher qual conta excluir.

Consultas e códigos

  • list — Mostra todas as contas salvas em uma tabela; adicione --show-secret/-s para incluir segredos e códigos atuais (use com cautela).
  • search [query] — Procura por ID, nome ou issuer; deixe o argumento de fora para abrir o seletor interativo e use --show-secret/-s, --json/-j ou --yaml/-y para ajustar a saída.
  • code [query] — Copia o código TOTP/HOTP selecionado para a área de transferência (ou imprime com --raw/-r); aceita --watch/-w (TOTP apenas), --next/-n, --no-auto/-a para evitar incremento automático do contador HOTP, e --no-clipboard/-c para impedir cópia. A ausência de query abre o seletor, e --watch e --next não podem ser usados juntos.

⚙️ Opções Úteis do Comando code

  • -r, --raw — Imprime apenas o código, útil para scripts.
  • -n, --next — Aguarda o próximo ciclo do TOTP antes de gerar (não compatível com --watch).
  • -w, --watch — Atualiza continuamente os códigos TOTP (não funciona com HOTP).
  • -a, --no-auto — Não incrementa automaticamente o contador HOTP quando o código é gerado.
  • -c, --no-clipboard — Impede a cópia automática para a área de transferência.

🔒 Dados e Segurança

Claro, aqui vai uma versão atualizada alinhada com o uso do SQLite:

  • 📁 As contas são armazenadas de forma segura em um banco de dados SQLite local
  • 🔐 Os dados sensíveis são criptografados antes de serem persistidos no banco
  • 🔑 A chave de criptografia é armazenada com segurança no chaveiro do sistema operacional usando keytar