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

momentumreim

v0.4.4

Published

CLI oficial de Momentum REIM — consulta datos de Brain, Hub, Pulse, Tickets y Works desde la terminal

Downloads

695

Readme

momentumreim

CLI oficial de Momentum REIM para consultar datos de Brain, Hub, Pulse, Tickets y Works desde la terminal.

Instalación

npm install -g momentumreim

Uso básico

# Login con tu cuenta Momentum
momentumreim login

# Quién soy
momentumreim whoami

# Logout
momentumreim logout

Seguridad

Este CLI es público en npm, pero tus datos están protegidos:

  • Solo contiene URLs públicas de Supabase y claves anón (diseñadas para ir en frontend).
  • Necesitas login con tu cuenta de Momentum → obtienes un JWT propio.
  • Row Level Security (RLS) de Supabase filtra automáticamente lo que puedes ver.
  • Tu sesión se guarda en ~/.momentumreim/session.json (permisos 0600, solo tu usuario).
  • El JWT se refresca automáticamente mientras tu sesión esté activa.

Flags globales

| Flag | Descripción | |---|---| | --json | Output en JSON (ideal para scripts y para que Builder/Mom-IA consuman datos) | | --help | Ayuda de cualquier comando | | -v, --version | Versión del CLI |


🏛️ Brain — Portal corporativo

| Comando | Descripción | |---|---| | brain profile [email] | Ver perfil (propio si no se indica email) | | brain users | Listar usuarios del portal | | brain departments | Listar departamentos | | brain auth-logs | Ver logs de autenticación |


🏢 Hub — CRM comercial

| Comando | Descripción | |---|---| | hub leads | Listar leads | | hub leads-show <id> | Detalle de un lead | | hub leads-search <query> | Buscar leads | | hub projects | Listar proyectos | | hub projects-show <name> | Detalle de un proyecto | | hub units | Listar unidades/viviendas | | hub pipeline | Resumen del funnel | | hub marketing | Inversiones de marketing | | hub reviews | Reseñas de proyectos |


💼 Pulse — Deals de inversión

| Comando | Descripción | |---|---| | pulse deals | Listar deals | | pulse deals-show <id> | Detalle de un deal | | pulse deals-search <query> | Buscar deals | | pulse pipeline | Resumen del pipeline | | pulse dd <asset_id> | Progreso de Due Diligence | | pulse dd-items <asset_id> | Items del checklist DD | | pulse actions [asset_id] | Últimas acciones/notas | | pulse comparables <asset_id> | Comparables de mercado |


🎫 Tickets — Gastos y kilometraje

| Comando | Descripción | |---|---| | tickets expenses | Listar tus gastos | | tickets expenses-summary | Resumen del mes actual | | tickets mileage | Listar kilometraje | | tickets approvals | Peticiones pendientes de aprobar (si eres aprobador) | | tickets conventions | Ver tarifas de convenios |


🏗️ Works — Predicción de costes

| Comando | Descripción | |---|---| | works projects | Listar obras | | works project-show <id> | Detalle de una obra | | works curves <project_id> | Curva mensual de progreso | | works index | Histórico del índice de costes | | works index-latest | Valor más reciente del índice |


Ejemplos

# Ver mis gastos del mes
momentumreim tickets expenses-summary

# Pipeline de inversión
momentumreim pulse pipeline

# Leads nuevos esta semana
momentumreim hub leads --week

# Buscar un deal
momentumreim pulse deals-search "Mateo Inurria"

# DD de un deal específico
momentumreim pulse dd abc-123-def

# Output JSON para procesar en shell
momentumreim --json hub leads --status bloqueo | jq '.[] | .name'

Roadmap

v0.1.0 (actual) — read-only

Consultas de solo lectura para los 5 apps. ~33 comandos.

v0.2.0 (próximamente)

  • Creaciones (new lead, new expense, new deal…)
  • Actualizaciones (update status, tag, assign…)
  • Aprobaciones (tickets approve/reject)
  • ~150 comandos adicionales

v0.3.0

  • Exports a Excel/CSV
  • Operaciones bulk
  • Comandos de administración
  • Reports consolidados
  • ~130 comandos adicionales

Total final: ~360 comandos cubriendo todo el ecosistema Momentum.


Desarrollo

git clone [email protected]:momentumreimspain/momentumreim-cli.git
cd momentumreim-cli
npm install
node bin/momentumreim.js --help

Licencia

MIT © Momentum REIM