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/saleor-connector

v1.0.4

Published

API Connector for Saleor with Svelte Commerce

Readme

@misiki/saleor-connector

NPM Version License TypeScript

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

@misiki/saleor-connector provides a production-ready, fully-typed API client and integration layer that seamlessly bridges svelte-commerce storefronts with Saleor headless e-commerce backends — mirroring the full 43-service surface svelte-commerce expects.

Coverage: 40 of 43 services are wired to the live Saleor API. The remaining 3 have no Saleor 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 saleor-connector and your Saleor backend.

1. Install the Connector

Inside your svelte-commerce project directory, run:

bun i @misiki/saleor-connector

(Or using npm / pnpm / yarn):

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

2. Configure kitcommerce.config.ts

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

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

3. Environment Variables Setup

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

PUBLIC_SALEOR_API_URL=https://your-saleor-domain.com/graphql/
PUBLISHABLE_API_URL=http://localhost:5173

4. Obtaining Environment Settings & Configuring Saleor Admin

To get the necessary API configurations and properly configure your Saleor backend:

  1. Log into Saleor Dashboard:
    • Access your Saleor dashboard (e.g. https://your-saleor-domain.com/dashboard/ or Saleor Cloud dashboard).
  2. Verify & Copy GraphQL API Endpoint:
    • Obtain your Saleor GraphQL API endpoint URL (e.g. https://your-saleor-domain.com/graphql/).
    • Set this URL as the value for PUBLIC_SALEOR_API_URL in your .env file.
  3. Configure Required Settings in Saleor Dashboard:
    • Email Confirmation: Ensure Require email confirmation link for User Registration is set to false.
    • Phone Requirement: Ensure isPhoneMandatory is set to false.
    • Order Settings: Enable Allow unpaid orders in Order Settings.
    • Channel Settings: Enable Allow unpaid orders in Channel Settings.

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 | ⚠️ placeholder (no Saleor equivalent) | | client.address | ✅ live | | client.review | ✅ live | | client.cart | ✅ live | | client.country | ✅ live | | client.state | ✅ live | | client.currency | ✅ live | | client.region | ✅ live | | client.page | ⚠️ placeholder (no Saleor equivalent) | | client.blog | ✅ live | | client.settings | ✅ live | | client.store | ✅ live | | client.paymentMethod | ✅ live | | client.search | ✅ live | | client.autocomplete | ✅ live | | client.user | ✅ live | | client.auth | ✅ live | | client.profile | ✅ live | | client.wishlist | ✅ live | | client.vendor | ✅ live | | client.checkout | ✅ live | | client.upload | ✅ live | | client.banner | ✅ live | | client.chat | ✅ live | | client.contact | ✅ live | | client.deal | ✅ live | | client.demoRequest | ✅ live | | client.enquiry | ✅ live | | client.faq | ✅ live | | client.feedback | ✅ live | | client.gallery | ✅ live | | client.home | ✅ live | | client.init | ✅ live | | client.meilisearch | ✅ live | | client.menu | ✅ live | | client.plugins | ✅ live | | client.popularSearch | ✅ live | | client.popularity | ⚠️ placeholder (no Saleor equivalent) | | client.reels | ✅ live |

Development

bun install && bun run build

License

MIT © misiki-in