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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@devx-commerce/plugin-wishlist

v0.0.5

Published

A starter for Medusa plugins.

Readme

What is Medusa Wishlist Plugin

This plugin provides wishlist functionality for your Medusa-powered e-commerce store. It enables customers to maintain a single wishlist per user account, helping them keep track of products they're interested in purchasing later.

Features

Core Functionality

  • Single Wishlist per User: Each user gets one dedicated wishlist
  • RESTful APIs:
    1. Add Item: Add product to the wishlist
    2. Remove Item: Remove product from the wishlist
    3. Clear Wishlist: Remove all product from the wishlist
    4. Get Wishlist: Retrieve the current wishlist products

Future Enhancements

We're planning to add the following notification features to enhance the wishlist experience:

  1. Stock Notifications: Alert users when wishlist items are back in stock
  2. Inventory Alerts: Notify users when wishlist items are running low
  3. Price Drop Alerts: Inform users when items in their wishlist decrease in price

These upcoming features will help users make informed decisions and never miss out on their desired products.

Prerequisites

  • Medusa Application Version >= 2.4.0

Installation

  1. In your Medusa application, run the following command to install the wishlist plugin:
yarn add @devx-commerce/wishlist # or npm install @devx-commerce/wishlist
  1. Add the plugin to the plugins array in medusa-config.ts:
module.exports = defineConfig({
  // ...
  plugins: [
    {
      resolve: "@devx-commerce/wishlist",
      options: {}
    }
  ]
})
  1. Run the db:migrate command to run migrations and sync links:
npx medusa db:migrate

Copy into your existing medusa application

You can also copy the source files into an existing Medusa application, which will add them not as a plugin, but as standard Medusa customizations.

  1. Copy the content of the following directories:
  • src/api/store
  • src/api/middlewares.ts
  • src/link
  • src/modules/wishlist
  1. Add the Wishlist Module to medusa-config.ts:
module.exports = defineConfig({
  // ...
  modules: [
    {
      resolve: "./src/modules/wishlist"
    },
  ]
})
  1. Run the db:migrate command to run migrations and sync links:
npx medusa db:migrate

Test it Out

To test out that the plugin is working, you can go to any product page on the Medusa Admin and see a Wishlist section at the top of the page. You can also try importing the OpenAPI Spec file and using the API routes added by this plugin.

More Resources