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

@waffo/pancake-migrate

v0.2.0

Published

Migrate products and settings from Stripe or Creem to Waffo Pancake

Downloads

91

Readme

@waffo/pancake-migrate

Migrate products and settings from Stripe or Creem to Waffo Pancake.

Quick Start

npx @waffo/pancake-migrate

Interactive mode guides you through:

  1. Choose source — Stripe or Creem
  2. Choose target store — existing store or create a new one
  3. Preview — see what will be migrated before confirming
  4. Migrate — products, prices, images, webhooks, and branding

Usage

Interactive Mode

npx @waffo/pancake-migrate

Stripe

# Full migration (products + webhooks + branding)
npx @waffo/pancake-migrate stripe \
  --stripe-key sk_test_xxx \
  --merchant-id MER_xxx \
  --private-key ./private.pem \
  --store-id STO_xxx \
  --tax-category saas

# Dry run (preview only)
npx @waffo/pancake-migrate stripe \
  --stripe-key sk_test_xxx \
  --merchant-id MER_xxx \
  --private-key ./private.pem \
  --store-id STO_xxx \
  --tax-category saas \
  --dry-run

# Create a new store during migration
npx @waffo/pancake-migrate stripe \
  --stripe-key sk_test_xxx \
  --merchant-id MER_xxx \
  --private-key ./private.pem \
  --store-id new \
  --tax-category saas

# Skip specific steps
npx @waffo/pancake-migrate stripe ... --skip-webhooks --skip-branding

Creem

npx @waffo/pancake-migrate creem \
  --api-key creem_test_xxx \
  --merchant-id MER_xxx \
  --private-key ./private.pem \
  --store-id STO_xxx

# Dry run
npx @waffo/pancake-migrate creem \
  --api-key creem_test_xxx \
  --merchant-id MER_xxx \
  --private-key ./private.pem \
  --store-id STO_xxx \
  --dry-run

What Gets Migrated

From Stripe

| Data | Status | |------|--------| | Products + Prices | Migrated (multi-currency, images, descriptions) | | Billing periods | Mapped (week→weekly, month→monthly, month/3→quarterly, year→yearly) | | Webhook endpoints | Migrated (URL + event type mapping) | | Store branding | Migrated (support email + website) | | Environment | Auto-detected (sk_test_→test, sk_live_→production) |

From Creem

| Data | Status | |------|--------| | Products + Prices | Migrated (single-currency, images, descriptions) | | Billing periods | Mapped (every-month→monthly, every-three-months→quarterly, every-year→yearly) | | Tax categories | Mapped (saas→saas, digital-goods-service→digital_goods, ebooks→ebook) |

Not Migrated

  • Active subscriptions (must be created through checkout)
  • Customer data (auto-created on first purchase)
  • Payment methods (PCI compliance)
  • Coupons/discounts (not supported by Pancake)
  • Checkout theme colors (Stripe doesn't expose via API)

Options

Stripe

| Flag | Description | |------|-------------| | --stripe-key <key> | Stripe Secret Key (sk_test_... or sk_live_...) | | --merchant-id <id> | Pancake Merchant ID (MER_...) | | --private-key <path> | Path to Pancake API private key file, or raw key content | | --store-id <id> | Target Store ID (STO_...) or new to create | | --tax-category <cat> | Default tax category (saas, digital_goods, software, ebook, online_course, consulting, professional_service) | | --dry-run | Preview without creating | | --yes | Skip confirmation | | --skip-products | Skip product migration | | --skip-webhooks | Skip webhook migration | | --skip-branding | Skip branding migration |

Creem

| Flag | Description | |------|-------------| | --api-key <key> | Creem API Key (creem_test_... or creem_...) | | --merchant-id <id> | Pancake Merchant ID (MER_...) | | --private-key <path> | Path to Pancake API private key file, or raw key content | | --store-id <id> | Target Store ID (STO_...) or new to create | | --dry-run | Preview without creating | | --yes | Skip confirmation |

Requirements

  • Node.js 18+
  • Waffo Pancake API Key (sign up)
  • Source platform API key (Stripe Secret Key or Creem API Key)

License

MIT