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

pressami

v0.4.20

Published

CLI per creare e gestire siti PressAmì — npx pressami create

Downloads

3,076

Readme

pressami — CLI

Strumento a riga di comando di PressAmì CMS: crea un nuovo sito, applica gli aggiornamenti (migrazioni core + plugin) e verifica la sicurezza dell'install.

npx pressami <comando>
# create   → genera un nuovo install
# update   → aggiorna un install esistente (migrazioni core+plugin, audit, versione)
# audit    → verifica RLS + secret

Aggiornare un install — pressami update

Quando l'admin mostra il banner "Update disponibile", le migrazioni del core si applicano da qui (per scelta di sicurezza il core non si aggiorna dal browser: nessun privilegio DDL è esposto in rete). Le migrazioni dei plugin restano applicabili anche con un click dalla pagina Aggiornamenti.

Principio architetturale (no-door): l'aggiornamento è sempre iniziato dal cliente con le proprie credenziali. Il fornitore non ha alcun accesso permanente agli install: distribuisce artefatti, non entra. Il tuo database resta tuo.

Dentro un install (consigliato): npm run update

Ogni sito creato con pressami create include la CLI vendorizzata in vendor/cli/ e uno script pronto:

npm run update    # = pressami update (interattivo: propone il Session pooler)

A mano, ovunque: pressami update

Connessione: usa il Session pooler (IPv4)

⚠️ La connessione diretta db.<ref>.supabase.co è servita da Supabase solo su IPv6. Su una normale rete IPv4 fallisce con getaddrinfo ENOTFOUND db.<ref>.supabase.co. Usa sempre la connection string del Session pooler (IPv4), che funziona ovunque.

Dove trovarla: Supabase → Database → Connect → Session pooler → copia la stringa.

npx pressami update --connection-string 'postgresql://postgres.<ref>:<password>@<region>.pooler.supabase.com:5432/postgres'

Verifica senza applicare nulla (consigliato prima):

npx pressami update --connection-string '<...>' --dry-run

Senza flag, il comando è interattivo e propone come default proprio la connection string del pooler.

In sintesi

  • --connection-string <str>consigliato: la stringa del Session pooler (IPv4).
  • --url <https://<ref>.supabase.co> --db-password <pwd> — connessione diretta (IPv6-only: spesso fallisce).
  • --dry-run — mostra solo le migrazioni pending, non scrive nulla.
  • --no-audit — salta l'audit di sicurezza finale.

A fine update: system.core_version aggiornato, audit certificato, 0 pending. Nell'admin premi Aggiorna sulla pagina Aggiornamenti e il banner diventa verde.