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

@tagadapay/node-sdk

v1.2.1

Published

Official Tagada Node.js SDK — PSP/gateway-agnostic payment orchestration

Downloads

729

Readme

@tagadapay/node-sdk

Server-side Node.js SDK for TagadaPay — the PSP-agnostic payment orchestration platform.

Use this SDK to programmatically create stores, deploy checkout pages, set up funnels, process payments, and manage your entire checkout infrastructure from code.

Install

npm install @tagadapay/node-sdk

Requires Node.js 18+.

Quick Start

import Tagada from '@tagadapay/node-sdk';

const tagada = new Tagada('your-api-key');

// List stores
const stores = await tagada.stores.list();

// Process a payment
const { payment } = await tagada.payments.process({
  amount: 4999,
  currency: 'USD',
  storeId: 'store_xxx',
  paymentInstrumentId: 'pi_xxx',
});

What Can You Do With It?

| Resource | What it does | | --- | --- | | tagada.stores | Create and manage stores | | tagada.products | Create, update, and manage products with variants and pricing | | tagada.payments | Process, refund, and void payments | | tagada.paymentFlows | Configure PSP routing (cascade, weighted, failover) | | tagada.funnels | Create multi-step funnels (checkout → upsell → thank you) | | tagada.plugins | Deploy SPAs to edge CDN (deployDirectory()), A/B split testing, custom domains | | tagada.subscriptions | Create and manage recurring billing | | tagada.customers | Look up and manage customers | | tagada.orders | Query orders | | tagada.webhooks | Register webhook endpoints | | tagada.events | Query event log, statistics, and audit trail | | tagada.emailTemplates | Create and manage transactional email templates | | tagada.promotions | Create and manage discounts | | tagada.promotionCodes | Generate and manage discount codes | | tagada.offers | Configure upsells, downsells, and order bumps | | tagada.checkoutOffers | Manage checkout-time offers | | tagada.blockRules | Create fraud/block rules | | tagada.paymentInstruments | Manage vaulted payment methods | | tagada.domains | Add, verify, configure, and remove custom domains | | tagada.checkout | Server-side checkout operations | | tagada.processors | List, create, and manage payment processors (incl. Stripe Connect OAuth) |

Configuration

const tagada = new Tagada({
  apiKey: 'your-api-key',
  baseUrl: 'https://app.tagadapay.com/api/public/v1',
  timeout: 30_000,
  maxRetries: 2,
});

Error Handling

import Tagada, {
  TagadaNotFoundError,
  TagadaValidationError,
  TagadaAuthenticationError,
  TagadaRateLimitError,
} from '@tagadapay/node-sdk';

try {
  await tagada.payments.retrieve('pay_nonexistent');
} catch (err) {
  if (err instanceof TagadaNotFoundError) {
    // 404
  } else if (err instanceof TagadaValidationError) {
    console.log(err.errors); // field-level errors
  } else if (err instanceof TagadaRateLimitError) {
    console.log(`Retry after ${err.retryAfter}s`);
  }
}

Full Guide

See the Node SDK guide for a complete walkthrough with examples.

License

MIT