npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@misiki/shopify-connector

v1.1.1

Published

API Connector for Shopify with Svelte Commerce

Readme

@misiki/shopify-connector

NPM Version License TypeScript

The Official TypeScript API Connector for connecting svelte-commerce to Shopify E-Commerce Backend.

@misiki/shopify-connector provides a production-ready, fully-typed API client and integration layer that seamlessly bridges svelte-commerce storefronts with Shopify headless e-commerce backends, mirroring the full 26-service surface every svelte-commerce connector implements.

Coverage: 16 of 26 services are wired to the live Shopify API. The remaining 10 have no Shopify equivalent and return empty placeholder data. Each placeholder says why in a comment at the top of its service file.


🚀 Step-by-Step Integration Guide

Follow these steps to connect svelte-commerce with shopify-connector and your Shopify backend.

1. Install the Connector

Inside your svelte-commerce project directory, run:

bun i @misiki/shopify-connector

(Or using npm / pnpm / yarn):

npm install @misiki/shopify-connector
# or
pnpm add @misiki/shopify-connector

2. Configure kitcommerce.config.ts

In svelte-commerce, open kitcommerce.config.ts and change the export * line to import from @misiki/shopify-connector:

// kitcommerce.config.ts
export * from '@misiki/shopify-connector';

3. Environment Variables Setup

Add the required environment variables in your svelte-commerce .env file:

PUBLIC_SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
PUBLIC_SHOPIFY_ACCESS_TOKEN=your-access-token
PUBLISHABLE_API_URL=http://localhost:5173

4. Obtaining Environment Settings from Shopify Admin

To get the necessary API configurations from your Shopify backend:

  1. Log into Shopify Admin:
    • Access your admin dashboard at https://admin.shopify.com/store/your-store (or https://your-store.myshopify.com/admin).
  2. Navigate to Apps and Custom Apps:
    • Go to Settings > Apps and sales channels > Develop apps (or Custom Apps).
  3. Create/Configure Custom App & Access Tokens:
    • Create a Custom App and configure Admin API / Storefront API scopes.
    • Install the app to generate your Admin API Access Token / Storefront Access Token.
    • Set your store domain and token as the values for PUBLIC_SHOPIFY_STORE_DOMAIN and PUBLIC_SHOPIFY_ACCESS_TOKEN in your .env file.

5. Build and Run the Project

Run the development server in svelte-commerce:

bun dev

To build and run the production application:

# Build the project
bun run build

# Preview the built application
bun run preview

Service coverage

| Service | Status | | --- | --- | | client.product | ✅ live | | client.category | ✅ live | | client.collection | ✅ live | | client.order | ✅ live | | client.coupon | ✅ live | | client.address | ✅ live | | client.review | ⚠️ placeholder (no Shopify equivalent) | | client.cart | ✅ live | | client.country | ⚠️ placeholder (no Shopify equivalent) | | client.page | ⚠️ placeholder (no Shopify equivalent) | | client.blog | ✅ live | | client.store | ✅ live | | client.paymentMethod | ✅ live | | client.search | ✅ live | | client.user | ✅ live | | client.auth | ✅ live | | client.profile | ⚠️ placeholder (no Shopify equivalent) | | client.wishlist | ⚠️ placeholder (no Shopify equivalent) | | client.vendor | ⚠️ placeholder (no Shopify equivalent) | | client.checkout | ✅ live | | client.chat | ⚠️ placeholder (no Shopify equivalent) | | client.contact | ⚠️ placeholder (no Shopify equivalent) | | client.enquiry | ⚠️ placeholder (no Shopify equivalent) | | client.faq | ⚠️ placeholder (no Shopify equivalent) | | client.meilisearch | ✅ live | | client.menu | ✅ live |

Development

bun install && bun run build

License

MIT © misiki-in