Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@betterstore/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Better Store SDK
🚀 Better Store SDK is a modern, developer-friendly eCommerce toolkit designed to help developers build flexible and powerful online stores with ease.
✨ Features
- 🛒 Custom Checkout – Build checkout flows that suit your business needs.
- 💳 Payments – Integrate with Stripe, PayPal, and custom gateways.
- 📦 Product & Order Management – API-driven store management.
- 🎨 Customizable UI – Prebuilt components and themes.
- 📡 Webhooks & API Events – Extend and automate eCommerce operations.
- 🚀 Optimized for DX – Built with TypeScript and fully documented.
📦 Installation
npm install better-store-sdk
🚀 Quick Start
import { BetterStore } from "better-store-sdk";
const store = new BetterStore({ apiKey: "YOUR_API_KEY" });
store.checkout.start({
cart: [{ id: "prod_1", name: "T-Shirt", price: 20 }],
currency: "USD",
});
📚 Documentation
Full documentation is available at betterstore.dev.
🤝 Contributing
We welcome contributions! Please check the CONTRIBUTING.md for details.
⚖️ License
This project is licensed under the MIT License.