PACKAGE · PAYMENT

@polar-sh/checkout

Polar Checkout SDK

WEEKLY DOWNLOADS 97.9K
STARS 10.5K
FORKS 833
OPEN ISSUES 135
INSTALL SIZE 22.1 MB
UNPACKED SIZE 1.1 MB
LAST UPDATED 4mo ago
DOWNLOAD TRENDS

@polar-sh/checkout downloads · last 12 months

Download trends for @polar-sh/checkout1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.091.3K182.6K273.9K365.2KNov 2025FebMayAugOct 2026
@polar-sh/checkout
ABOUT @POLAR-SH/CHECKOUT

The @polar-sh/checkout package is Polar’s checkout SDK for connecting a product or service to Polar’s payment flow. Its role is to help developers present checkout as part of an application that sells digital products, subscriptions, or usage-based services, rather than implementing a payment experience independently.

The package is aimed at teams building with Polar as their payments platform and merchant of record. Its focus is checkout integration; the supplied package information does not document specific payment operations, configuration options, or guarantees, so confirm the version’s API and supported flows in the project documentation before designing around them.

The package is published as a TypeScript-oriented SDK, but the supplied details do not identify its exported functions, React hooks, components, or checkout-session patterns. Treat the installed package’s type declarations and documentation as the source of truth for the API, and keep application-specific product or subscription logic separate from the checkout integration.

Its listed ecosystem topics include React, Next.js, TypeScript, FastAPI, and Python, alongside SaaS, digital products, and usage billing. These topics indicate the kinds of projects associated with Polar, but do not by themselves establish that this npm package provides framework adapters or server-side APIs for each environment.

Version 0.6.0 has a reported unpacked size of 1.1 MB, so check the production bundle impact if the SDK is imported into browser-facing code. The package has 86.2K weekly downloads, 10.4K GitHub stars, 810 forks, and 151 open issues; these figures offer context, not a substitute for evaluating compatibility and open issue relevance. It was last updated on 2026-10-30 and is licensed under Apache-2.0.

WHEN TO USE
  • When integrating a Polar checkout flow into a product that sells digital products, subscriptions, or usage-based services; verify the supported flow for version 0.6.0 before implementation.
  • When your application already uses Polar as its payments platform and you want to use its checkout SDK rather than build a separate checkout interface.
  • When evaluating a TypeScript npm dependency for a React or Next.js project; inspect the package exports and types to confirm the browser and rendering patterns you need.
  • When comparing Polar’s checkout integration with your merchant-of-record and payments requirements; validate the required payment and subscription capabilities against Polar’s documentation.
  • When your team can review the 1.1 MB unpacked package size and assess its effect on client-side imports and production bundling.
  • When an Apache-2.0-licensed checkout SDK fits your project’s licensing requirements and Polar’s documented integration fits your workflow.
WHEN NOT TO USE
  • If you require documented React hooks or components before adopting a checkout SDK, the supplied package details do not confirm them; inspect the exports and documentation or build the checkout interface using a documented integration path.
  • If your application does not use Polar for payments, this Polar-specific checkout SDK is not a fit; choose a checkout integration aligned with your existing payment provider.
  • If your target environment is FastAPI or Python-only, do not assume this npm package supplies server-side support; use Polar’s documented server-side integration for that environment.
  • If you cannot accept a reported unpacked package size of 1.1 MB in browser-facing code, measure the actual production bundle and use a hosted or otherwise lighter checkout integration if it does not meet your budget.
  • If you need confirmed support for a particular subscription, usage-billing, or digital-product flow, the supplied metadata alone is insufficient; verify the current API and supported capabilities before adopting it.
  • If your project requires a release with a maturity level beyond version 0.6.0, review its release history and open issues first, or select an integration with a release status that meets your requirements.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 3
@polar-sh/checkout vs @lemonsqueezy/lemonsqueezy.js ★ 540 · 142.4K/wk @polar-sh/checkout vs @tosspayments/payment-widget-sdk ★ 127 · 9.8K/wk @polar-sh/checkout vs stripe ★ 4.6K · 34.5M/wk