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

fiscalisto

v0.1.228

Published

SDK y CLI de la API de facturación electrónica (CFDI 4.0) de Fiscalisto, para TypeScript y JavaScript.

Readme

fiscalisto

El SDK de la API de facturación de Fiscalisto: timbre CFDI 4.0 (facturas, pagos, notas de crédito, nómina, retenciones y lotes) desde TypeScript o JavaScript.

  • Tipos para cada campo, con su descripción y su nombre en el XML del SAT.
  • Idempotency-Key automática en cada POST: un reintento nunca timbra, crea ni manda nada dos veces.
  • Reintentos solo de lo que es seguro repetir.
  • Listas que se recorren solas con for await.
  • Webhooks verificados en una línea.
  • Sin dependencias: Node 20+, Bun, Deno y Cloudflare Workers.
npm install fiscalisto
import { Fiscalisto } from "fiscalisto";

const fiscalisto = new Fiscalisto(process.env.FISCALISTO_API_KEY);

const invoice = await fiscalisto.invoices.create(
  {
    customer: { tax_id: "ICV060329BY0", legal_name: "INMOBILIARIA CVA", tax_system: "601", zip: "33826" },
    payment_form: "03",
    items: [{ description: "Mensualidad", product_key: "86121700", quantity: 2, unit_price: 2500 }],
  },
  { idempotencyKey: "pedido-A-1042" },
);

console.log(invoice.uuid, invoice.total);

Con agentes de IA

Para que Claude Code, Cursor, Codex u otro agente integre Fiscalisto, conecte el servidor MCP de la documentación (sin llave) y pídale que empiece con get_started:

npx fiscalisto init --agents deja además la guía en .claude/skills/fiscalisto/SKILL.md y una sección en su AGENTS.md. Para conectar la documentación:

claude mcp add --transport http fiscalisto-docs https://fiscalisto.com/docs/api/mcp

La guía de integración en una página está en fiscalisto.com/docs/api/SKILL.md y el índice de la documentación para agentes en llms.txt. Otros clientes y más: fiscalisto.com/docs/api/agentes.

CLI

El mismo paquete trae el CLI: npx fiscalisto login inicia sesión por el navegador, npx fiscalisto init deja el SDK y su llave en su proyecto, y npx fiscalisto listen --forward-to http://localhost:3000/webhooks le manda los webhooks de pruebas a su computadora. Con --json, para agentes y scripts. Vea fiscalisto.com/docs/api/cli.

La guía completa está en fiscalisto.com/docs/api/sdk y cada página de la referencia trae su ejemplo con el SDK.

Desarrollo

src/generated.ts (tipos y métodos) se genera desde la especificación OpenAPI con bun run openapi en la raíz del repositorio; no lo edite. src/core.ts y src/webhooks.ts se escriben a mano. npm run build compila a dist/.