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

@oxvo/messenger-vue

v0.1.1

Published

Vue 3 and Nuxt 3 SDK package for OXVO Messenger

Readme

@oxvo/messenger-vue

Vue 3 and Nuxt 3 SDK package for OXVO Messenger.

Structure

  • src/core/ shared controller and lazy-load engine
  • src/vue/ Vue plugin, composable, launcher
  • ../shared/core/ canonical shared source synced into src/core/

Install

npm install @oxvo/messenger-vue

Full Settings Support

createOxvoMessenger supports the full modern settings surface used by /app/javascript/entrypoints/sdk.js.

You can pass settings using either settings or oxvoSettings (alias). When both are present, settings wins per key.

app.use(
  createOxvoMessenger({
    baseUrl: 'https://your-oxvo-domain',
    websiteToken: 'your-website-token',
    scriptUrl: 'https://static.oxvo.com/messenger/sdk.js',
    settings: {
      baseDomain: '',
      useBrowserLanguage: true,
      locale: 'en',
      position: 'right',
      launcherVisible: true,
      showPopoutButton: true,
      showUnreadMessagesDialog: true,
      widgetStyle: 'standard',
      theme: 'auto',
      type: 'expanded_bubble',
      launcherTitle: 'Welcome to OXVO',
      welcomeTitle: 'Welcome to OXVO',
      welcomeDescription: 'Ask us anything and we will be right here.',
      availableMessage: 'We are online and happy to help.',
      unavailableMessage: 'We are away right now, leave a message.',
      enableFileUpload: true,
      enableEmojiPicker: true,
      enableEndConversation: true,
      enableGifPicker: true,
      headerTextColor: '#ffffff',
      headerDecorationMode: 3,
      tabSpaces: ['Home', 'Chat'],
      convStarters: [{ text: 'I need help with my account', enabled: true }],
      convLinks: [
        { label: 'Docs', url: 'https://www.oxvo.com/docs', target: '_blank', enabled: true },
      ],
      homeBlocksOrder: ['Starters', 'Articles', 'Links', 'Apps'],
      avatarUrl: 'https://placehold.co/64x64',
      helpCenterSlug: 'help-center',
      preChatFormEnabled: true,
      preChatFormOptions: {
        pre_chat_message: 'Tell us about your issue.',
        pre_chat_fields: [],
      },
      apps: [
        {
          title: 'Docs',
          description: 'Product documentation',
          url: 'https://www.oxvo.com/docs',
          img_url: 'https://placehold.co/32x32',
        },
      ],
    },
  })
);

Compatibility aliases accepted:

  • darkMode -> theme
  • hideMessageBubble -> inverted into launcherVisible (only when launcherVisible is not explicitly set)
  • locale: 'auto' -> enables useBrowserLanguage automatically (unless useBrowserLanguage is explicitly set)

Live Chat Loader (Default Off)

Use liveChatLoader: true to show a lightweight launcher first and delay full SDK loading until idle/user interaction.

app.use(
  createOxvoMessenger({
    baseUrl: 'https://your-oxvo-domain',
    websiteToken: 'your-website-token',
    scriptUrl: 'https://static.oxvo.com/messenger/sdk.js',
    liveChatLoader: true,
  })
);

liveChatLoader is false by default.

Appearance + override precedence

liveChatLoader also accepts an object:

app.use(
  createOxvoMessenger({
    baseUrl: 'https://your-oxvo-domain',
    websiteToken: 'your-website-token',
    scriptUrl: 'https://static.oxvo.com/messenger/sdk.js',
    settings: {
      position: 'left',
      theme: 'dark',
      widgetStyle: 'flat',
    },
    liveChatLoader: {
      enabled: true,
      appearance: {
        position: 'right',
        horizontalSpacing: 24,
        verticalSpacing: 24,
        messengerColor: '#2d6bff',
        type: 'expanded_bubble',
        launcherTitle: 'Support',
      },
    },
  })
);

Precedence:

  • defaults
  • settings passed to init
  • liveChatLoader.appearance (highest priority)

Note:

  • widgetStyle is inherited from messenger settings and is not overridable via liveChatLoader.appearance.

Custom launcher

Use the default slot in OxvoMessengerLauncher to replace the placeholder bubble with your own element while still calling load()/open().

Test

npm test

Production Build

npm run build