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

@kofre/cli

v0.7.1

Published

Secretos de proyecto cifrados en tu máquina. kofre push / pull sobre archivos .env.

Readme

@kofre/cli

Secretos de proyecto cifrados en tu máquina. kofre push sube un .env cifrado; kofre pull lo recupera; kofre run -- <comando> inyecta las variables en memoria. El servidor nunca ve los valores en claro.

npm install -g @kofre/cli
kofre login                      # autoriza esta máquina desde el navegador
kofre init --project <id>        # vincula la carpeta (no guarda secretos)
kofre whoami                     # cuenta, dispositivo, bóveda y proyecto vinculado (alias: status)
kofre push .env --env dev
kofre pull --env dev -o .env
kofre run --env dev -- npm run dev
kofre ui                         # interfaz en la terminal con los mismos comandos

kofre pull no pisa un .env que no generó Kofre ni uno que editaste a mano. Si Kofre trae valores distintos, dice qué variables cambian (sin mostrar valores) y pregunta si guardar una copia antes de actualizar; si lo editaste a mano o no es de Kofre, en la terminal pregunta qué hacer (escribir en .env.<ambiente>, reemplazar o cancelar) y, si reemplazas, si guardar una copia; en scripts falla con un aviso. --force reemplaza dejando una copia; --force --no-backup, sin copia.

Equipos y CI:

kofre members add [email protected] --role editor   # muestra su huella para verificarla
kofre members remove [email protected]              # rota las claves de cifrado del proyecto
kofre tokens create --name ci --envs prod --expires 90
KOFRE_TOKEN=kofre_st_... kofre run --env prod -- npm start   # solo lectura, sin login
kofre history DB_URL --env prod --show

Integraciones (descifra en tu máquina y sube con tu propia sesión de cada servicio):

kofre sync vercel --env prod            # proyecto y equipo de .vercel/project.json; prod → production
kofre sync fly --env prod --app acme    # secretos de Fly (despliega una versión nueva)
kofre sync github --env prod --environment production   # secretos de Actions, sellados con la clave del repo

Agentes de IA (Claude Code, Cursor, Claude Desktop):

kofre guard              # ignora los .env, bloquea su lectura al agente y registra el servidor MCP
kofre unlock --env dev   # abre solo dev para el agente: prod sigue cerrado aunque lo pida
kofre unlock             # abre todo (deja la clave privada en el llavero 12 h)
kofre scan               # .env fuera de .gitignore y credenciales en claro en configs de agentes

kofre mcp es un servidor MCP por stdio: el agente ve nombres de variables, ejecuta comandos con las variables inyectadas (kofre_run, con los valores tachados en la salida, también en base64, hex, URL y JSON) y guarda credenciales nuevas cifradas (kofre_set). Ninguna herramienta devuelve valores. Ten en cuenta que kofre_run ejecuta lo que el agente pida con los secretos del ambiente en el entorno del proceso: desbloquea solo el ambiente que el agente necesite.

Claves públicas confiadas: la CLI fija la clave pública de cada miembro y token la primera vez que confirmas su huella (kofre members add, kofre tokens create) y se niega a compartir un ambiente con una clave que cambió. kofre keys list las muestra y kofre keys forget <id> olvida una.

Más comandos: kofre --help. Documentación y binarios nativos: https://github.com/kofrehq/kofre-releases