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

@vultur-ar/sdk

v0.1.0

Published

Official TypeScript SDK for the Vultur API — a hosted runtime that lets your AI agent emit AFIP-CAE-backed facturas, calculate IIBB retention, and audit-log every operation in Argentina. Wraps /api/v1 with typed clients + a webhook signature verifier.

Readme

@vultur-ar/sdk

Official TypeScript SDK for Vultur — a hosted runtime that lets your AI agent issue AFIP-CAE-backed facturas, calculate IIBB retention, and audit-log every operation in Argentina.

Zero deps. Works in Node 18+, Bun, Deno, Cloudflare Workers, Vercel Edge, browsers.

Install

npm i @vultur-ar/sdk

Usage

import { Vultur } from "@vultur-ar/sdk";

const vultur = new Vultur({
  apiKey: process.env.VULTUR_API_KEY!, // vk_live_… or vk_test_…
});

const factura = await vultur.facturas.create({
  sociedad: "acme-ai",
  total: 121_000, // ARS centavos
  cliente: "20-12345678-9",
  concepto: "Servicios — agente IA",
});

console.log(factura.cae); // → "70123456789012"

Idempotency

Pass an idempotencyKey on create to make retries safe. Vultur returns the original response if it has seen the key in the last 24h.

import { randomUUID } from "node:crypto";

await vultur.facturas.create({
  sociedad: "acme-ai",
  total: 121_000,
  idempotencyKey: randomUUID(),
});

Typed error handling

import {
  Vultur,
  VulturAfipRejection,
  VulturRateLimitError,
  VulturAuthError,
} from "@vultur-ar/sdk";

try {
  await vultur.facturas.create({ /* ... */ });
} catch (err) {
  if (err instanceof VulturAuthError) {
    // Rotate or check the API key.
  } else if (err instanceof VulturRateLimitError) {
    await sleep(err.resetSeconds * 1000);
    // retry
  } else if (err instanceof VulturAfipRejection) {
    // AFIP rejected the comprobante — log err.message + err.details
    // and surface to the operator.
  } else {
    throw err;
  }
}

Auto-retry

The SDK ships off-by-default retry behavior so it doesn't conflict with your own queue:

const vultur = new Vultur({
  apiKey: "...",
  retryOn429: true, // one retry honoring X-RateLimit-Reset
  maxRetries: 3,    // exponential backoff on 5xx, up to N tries
});

List + paginate

let cursor: string | null = null;
do {
  const page = await vultur.facturas.list({
    limit: 100,
    starting_after: cursor ?? undefined,
    status: "authorized",
  });
  for (const f of page.data) console.log(f.numero, f.total);
  cursor = page.next_cursor;
} while (cursor);

Verify a webhook

Vultur signs every outbound webhook delivery (HMAC-SHA256 over <ts>.<body> in Stripe's header shape).

import { verifyWebhookSignature } from "@vultur-ar/sdk";

export async function POST(req: Request) {
  const rawBody = await req.text();
  const ok = await verifyWebhookSignature({
    rawBody,
    signatureHeader: req.headers.get("x-vultur-signature"),
    secret: process.env.VULTUR_WEBHOOK_SECRET!,
  });
  if (!ok) return new Response("invalid signature", { status: 400 });
  // ... process event ...
}

Endpoints

| Method | Path | SDK | |---|---|---| | POST | /api/v1/facturas | vultur.facturas.create(args) | | GET | /api/v1/facturas/:id | vultur.facturas.retrieve(id) | | GET | /api/v1/facturas | vultur.facturas.list(opts) | | GET | /api/v1/societies/:slug | vultur.societies.retrieve(slug) | | GET | /api/v1/usage | vultur.usage.retrieve() | | GET | /api/v1/health | vultur.health.check() |

Full reference at https://vultur.ar/docs.

License

MIT — Nazareno Clemente