JSPM

  • Created
  • Published
  • Downloads 740
  • Score
    100M100P100Q89731F
  • License MIT

E-commerce for Developers

Package Exports

  • @betterstore/sdk
  • @betterstore/sdk/dist/index.js
  • @betterstore/sdk/dist/index.mjs

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 sdk toolkit designed to help developers build flexible and powerful e-commerce stores with ease.

📦 Installation

npm install @betterstore/sdk

🚀 Quick Start

import { BetterStore } from "@betterstore/sdk";

const betterStore = new BetterStore("YOUR_API_KEY");

betterStore.checkout.create({
  type: "hosted",
  lineItems: [{ productId: "example_id", quantity: 1 }],
});

📚 Documentation

Full documentation is available at betterstore.io.

🤝 Contributing

We welcome contributions! Please check the CONTRIBUTING.md for details.

⚖️ License

This project is licensed under the MIT License.