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

@feedmepos/mf-common

v1.29.12

Published

This package provide:

Downloads

1,526

Readme

@feedmepos/mf-common

This package provide:

  • shared portal shell component

  • shared coreStore pinia store

  • other shared utilities, like: i18n, country etc

Changelog

See CHANGELOG.md for details about changes in each version.


Remy Integration Guide

Overview

The common package provides a simplified interface for integrating Remy AI assistant into microfrontends. The responsibility of the common package is only to:

  1. Register a callback when Remy icon is clicked
  2. Show/hide the Remy icon based on callback registration
  3. Trigger the callback when the icon is clicked

Usage

1. Register Remy Callback

In your microfrontend (e.g., mf-menu), register a callback that will be triggered when the Remy icon is clicked:

import { useCoreStore } from '@feedmepos/common'

const coreStore = useCoreStore()

// Register your callback
coreStore.registerOnRemyClicked(() => {
  // Your Remy logic here
  // For example: open Remy dialog, activate Remy session, etc.
  console.log('Remy icon clicked!')
})

2. Automatic Icon Display

When you register the callback:

  • The publicSetting.aiSettings.remy.enable will be automatically set to true
  • The Remy icon will appear on Desktop, Mobile, and Tablet views
  • The icon is a video element showing the Remy animation

3. Icon Click Behavior

When a user clicks the Remy icon:

  • The registered callback will be triggered
  • You control what happens next (open dialog, start session, etc.)

Implementation Details

Desktop (PortalDesktop.vue)

  • Icon appears in the header next to user info
  • Positioned before debug and storefront buttons

Mobile (PortalMobile.vue)

  • Icon appears in the footer navigation
  • Positioned next to the more menu button

Tablet (PortalTablet.vue)

  • Icon appears in the header
  • Similar position to desktop view

Example: Full Integration

// In your microfrontend's main component or setup
import { onMounted } from 'vue'
import { useCoreStore } from '@feedmepos/common'

onMounted(async () => {
  const coreStore = useCoreStore()
})

Benefits

  1. Decoupled: Common package doesn't need to know about Remy implementation details
  2. Flexible: Each microfrontend can implement their own Remy behavior
  3. Simple API: Only one method to register, icon visibility is automatic
  4. Consistent UX: Icon appears in the same place across all views