Shopify/js-buy-sdk
The JS Buy SDK is a lightweight library that allows you to build ecommerce into any website. It is based on Shopify's API and provides the ability to retrieve products and collections from your shop, add products to a cart, and checkout. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 74
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6.5
- age_days: 3894
- days_rel: 435
- days_push: 159
- n_releases_24m: 7
Adoption not part of the score
1018 stars · 268 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight JavaScript SDK for embedding Shopify ecommerce into any website, providing product retrieval, cart management, and checkout via Shopify's Storefront API. It was deprecated by Shopify in January 2025, with v3.0 as a final stopgap release using Cart APIs.
Use cases
- add shopify products to a custom website
- build a headless shopify storefront in javascript
- retrieve products and collections from a shopify shop
- add items to a cart and checkout from a web app
- embed ecommerce into an existing site without a full rebuild
When to choose
- maintaining an existing integration that already uses the JS Buy SDK and only needs the v3.0 Cart API stopgap
- a legacy project where migrating to the Storefront API Client is not yet feasible
When to avoid
- starting a new Shopify headless project - use the Storefront API Client instead
- you need ongoing updates, support, or new Shopify API features
- your checkout flows rely on the deprecated Checkout APIs past the July 2025 deadline
Facets
library · maturity abandoned
sdk http-client graphql-client e-commerce web-development apis browser shopify storefront-api ecommerce deprecated cart-api checkout nodejs javascript
2 sources
- readme: https://github.com/Shopify/js-buy-sdk · fetched 2026-08-28 · ef4f4c44b3ba
- homepage: https://shopify.github.io/js-buy-sdk · fetched 2026-08-29 · a22ecc098ec4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Shopify/js-buy-sdk | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="Shopify/js-buy-sdk")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem