JSPM

snappycart

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q14500F
  • License MIT

A lightweight, embeddable React cart component with context support

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 (snappycart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    CI Conventional Commits

    🛒 SnappyCart

    SnappyCart is a modern, headless React cart system designed for plug-and-play use in any React app. With full support for local state and future SaaS syncing, it's the perfect cart foundation — open-source and Pro-ready.


    🚀 Features

    • ✅ Headless cart logic (add, remove, clear, etc.)
    • ✅ React context & hook (useCart)
    • ✅ Customizable sliding cart drawer
    • ✅ TypeScript support
    • ✅ Built-in persistence (localStorage)
    • 🧠 Designed for extension (Pro syncing, analytics, checkout)

    📦 Installation

    npm install snappy-cart