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

planillasoft-cli

v0.1.3

Published

CLI para operar PlanillaSoft (nómina/planilla Panamá) desde la terminal y agentes de IA

Readme

PlanillaSoft CLI (ps)

CLI para operar PlanillaSoft (nómina multi-tenant, Panamá) desde la terminal y desde agentes de IA (Claude Code, Codex, etc.). Acompaña a una Skill que enseña al agente a usarlo.

Instalación

Opción A — instalador de una línea (Mac/Linux):

curl -fsSL https://planillasoft.com/install.sh | bash

Detecta/instala Node.js si falta e instala el CLI.

Opción B — con npm (requiere Node.js ≥ 18):

npm install -g planillasoft-cli

Windows: instala Node desde https://nodejs.org y luego usa la Opción B.

Primeros pasos

# 1) Crea una API key en https://app.planillasoft.com → Integraciones → API keys
ps auth login --api-key psk_xxx.yyy     # las URLs de producción ya vienen por defecto
ps health && ps me
# 2) Fija tu empresa y plantilla:
ps company list && ps config set defaultCompanyId <id>
ps template list                        # copia el templateId
# 3) Ejecutar la planilla de una quincena:
ps run quickstart --template <templateId> --period-start 2026-06-01 --period-end 2026-06-15 --payment-date 2026-06-15

Por defecto el CLI usa https://api.planillasoft.com y https://app.planillasoft.com. Para otro entorno: ps config set apiBaseUrl/webBaseUrl, las env PLANILLASOFT_API_URL/PLANILLASOFT_WEB_URL, o el flag global --api-url (--web-url solo aplica a run export).

Para agentes de IA

Instala la Skill (skill/) en tu agente para operar PlanillaSoft en lenguaje natural. Ver skill/README.md.

Desarrollo

npm install
npm run build           # tsc -b -> dist/
npm test                # vitest (unit + integración)
node bin/run.js --help  # explora el árbol de comandos

Documentación

Resumen

  • Stack: TypeScript + oclif · paquete npm planillasoft-cli · binario ps (alias planillasoft).
  • Auth: API keys propias de PlanillaSoft (Authorization: ApiKey <prefix>.<secret>).
  • Multi-tenant: workspace + company explícitos (flag > env > config).
  • Pensado para agentes: salida JSON estable y versionada, exit codes deterministas, guardas en operaciones sensibles.

Publicar una versión (mantenedores)

El CI publica a npm al subir un tag de versión:

npm version patch      # sube version en package.json y crea el commit+tag
git push && git push --tags

Requiere el secreto NPM_TOKEN configurado en el repo de GitHub. Ver docs/RELEASING.md.