@lemonsqueezy/lemonsqueezy.js

v4.0.0 MIT

The official Lemon Squeezy JavaScript SDK.

Weekly Downloads
57.6K
Stars
524
Forks
36
Open Issues
12
Gzip Size
3.0 kB
Unpacked Size
329.3 kB
Dependencies
0
Last Updated
1y ago

@lemonsqueezy/lemonsqueezy.js Download Trends

Download trends for @lemonsqueezy/lemonsqueezy.js067.7K135.4K203.2K270.9KFeb 2025MayAugNovFebApr 2026
@lemonsqueezy/lemonsqueezy.js

About @lemonsqueezy/lemonsqueezy.js

The @lemonsqueezy/lemonsqueezy.js SDK provides a JavaScript interface for integrating Lemon Squeezy's payment processing and subscription management into web applications. Leveraging its client-side checkout functionality, developers can easily embed purchase flows and manage customer subscriptions. Since Lemon Squeezy's acquisition by Stripe in June 2024, this SDK continues to offer a streamlined approach to digital commerce for modern web projects.

When to use

  • When integrating the Lemon Squeezy checkout experience directly into your frontend application.
  • When programmatically managing user subscriptions and license keys via the Lemon Squeezy API.
  • When building a SaaS product requiring flexible payment plans and automated invoicing.
  • When leveraging Stripe's infrastructure for payment processing through the Lemon Squeezy platform.

When NOT to use

  • If your project only requires basic payment processing without subscription management, a simpler payment gateway might suffice.
  • If you need to manage the entire payment lifecycle exclusively on the server-side, consider server-side SDKs or direct API calls.
  • If you are looking for an open-source, self-hosted billing solution, this platform is not designed for that purpose.
  • If your primary goal is to integrate with an existing, non-Stripe-based payment provider, this SDK will not be compatible.

@lemonsqueezy/lemonsqueezy.js Alternatives

@lemonsqueezy/lemonsqueezy.js Categories