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

@moum/mirakl-connect-seller-client

v0.1.0

Published

A web-based order management tool for Mirakl marketplace sellers. Browse, accept, cancel, and refund orders through a clean UI — no backend setup required.

Readme

Mirakl Connect Seller Client

A web-based order management tool for Mirakl marketplace sellers. Browse, accept, cancel, and refund orders through a clean UI — no backend setup required.

Features

  • Order Management — View, accept, cancel, and refund orders with real-time status tracking
  • Auto-Refresh — Orders list refreshes automatically to stay up to date
  • Action Polling — Async operations (accept, cancel, refund) are polled until completion
  • OAuth Configuration — Configure credentials once on the Settings page; stored in localStorage
  • Built-in Proxy — A Node.js HTTP proxy forwards API calls to Mirakl Connect, avoiding CORS issues
  • CLI — Run instantly with npx, no cloning required

Quick Start

Run with npx (no install)

npx @moum/mirakl-connect-seller-client

This starts the server on port 4321 and opens the app in your browser.

Options:
  -p, --port <number>  Port to listen on (default: 4321)
  --no-open            Don't open the browser automatically
  -h, --help           Show this help message

Run from source

git clone <repo-url>
cd mirakl-connect-seller-client
npm install
npm run dev

Configuration

Open the Settings page in the app and fill in your Mirakl Connect OAuth credentials:

| Field | Description | |----------------------|--------------------------------------| | Client ID | OAuth client ID | | Client Secret | OAuth client secret | | Auth Server URL | Token endpoint base URL | | Connect Env URL | Mirakl Connect environment base URL |

Credentials are stored in your browser's localStorage and never leave your machine (requests go through the local proxy).

Available Scripts

| Command | Description | |-------------------|------------------------------------------| | npm run dev | Start Vite dev server with hot reload | | npm run build | Type-check and build for production | | npm start | Serve the production build | | npm run lint | Run ESLint | | npm run preview | Preview the production build via Vite |

Tech Stack

  • React 19 + React Router 7
  • TypeScript 5.9
  • Vite 7
  • Tailwind CSS 4 + DaisyUI 5
  • Lucide React (icons)
  • Node.js HTTP server + http-proxy (built-in proxy)

Project Structure

src/
├── api/            # HTTP client, auth token logic, orders API
├── components/
│   ├── common/     # Reusable fields (price, tax, reason select)
│   ├── dialogs/    # Accept, cancel, refund, and status dialogs
│   └── orders/     # Order table, rows, detail panel, status chips
├── context/        # Auth and notification React contexts
├── hooks/          # Data fetching and action hooks
├── pages/          # Orders list, order detail, settings
├── types/          # TypeScript interfaces (orders, auth, actions)
└── utils/          # Formatting helpers and localStorage wrapper

Architecture Notes

Proxy

The app ships with a lightweight Node.js HTTP server (server.mjs) that:

  1. Serves the built SPA from dist/
  2. Forwards any request to /proxy to the URL specified in the X-Proxy-Target header

This avoids CORS issues — the browser talks to localhost, and the server proxies requests to the Mirakl Connect API.

OAuth Flow

Credentials are configured on the Settings page and persisted in localStorage. The API client (src/api/auth.ts) handles token acquisition and refresh transparently before each API call.

Requirements

  • Node.js >= 18