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

@moveo-ai/web-client

v0.88.5

Published

Client side library to load the moveo chat widget and connect it with your agent

Readme

@moveo-ai/web-client

npm version npm downloads License: MIT

Embeddable chat widget for integrating Moveo.ai AI Agents into your website or application.

Features

  • Real-time chat with AI Agents
  • Customizable appearance and theming
  • Multi-language support (22 languages)
  • File upload and media sharing
  • Mobile-responsive design
  • Secure iframe-based isolation

Table of Contents

Quick Start

  1. Create an account at console.moveo.ai
  2. Create an environment and web integration
  3. Copy your integration ID
  4. Add the widget to your website using one of the methods below

Installation

CDN (Recommended for most websites)

Add the script tag to your HTML:

<script src="https://web.moveo.ai/web-client.min.js"></script>
<script>
  MoveoAI.init({ integrationId: 'YOUR_INTEGRATION_ID' });
</script>

npm (For module bundlers)

npm install @moveo-ai/web-client
import MoveoAI from '@moveo-ai/web-client';

MoveoAI.init({ integrationId: 'YOUR_INTEGRATION_ID' });

Requirements: Node.js 18+

Usage

Basic

<!DOCTYPE html>
<html>
  <head>
    <title>My Website</title>
  </head>
  <body>
    <!-- Your website content -->

    <script src="https://web.moveo.ai/web-client.min.js"></script>
    <script>
      window.addEventListener('load', function () {
        MoveoAI.init({ integrationId: 'YOUR_INTEGRATION_ID' });
      });
    </script>
  </body>
</html>

With Configuration Options

MoveoAI.init({
  integrationId: 'YOUR_INTEGRATION_ID',
  context: {
    user_id: 'user-123',
    user_name: 'John Doe',
    user_email: '[email protected]',
  },
  language: 'en',
});

Programmatic Control

const controller = MoveoAI.init({ integrationId: 'YOUR_INTEGRATION_ID' });

// Open the chat widget
controller.open();

// Close the chat widget
controller.close();

// Toggle the widget
controller.toggle();

// Send a message programmatically
controller.sendMessage('Hello!');

// Update context
controller.updateContext({ user_id: 'new-user-456' });

// Destroy the widget
controller.destroy();

API Reference

MoveoAI.init(config)

Initializes the chat widget.

| Parameter | Type | Required | Description | | --------------- | -------- | -------- | ----------------------------------------- | | integrationId | string | Yes | Your Moveo.ai integration ID | | context | object | No | Custom context variables for the AI Agent | | language | string | No | Widget language (ISO 639-1 code) |

Returns: WidgetController - Controller instance for programmatic control

WidgetController Methods

| Method | Description | | ---------------------------- | -------------------------------- | | open() | Opens the chat widget | | close() | Closes the chat widget | | toggle() | Toggles the widget open/closed | | sendMessage(text: string) | Sends a message to the agent | | updateContext(ctx: object) | Updates the conversation context | | destroy() | Removes the widget from the page |

Configuration

Context Variables

Pass custom data to your AI Agent:

MoveoAI.init({
  integrationId: 'YOUR_INTEGRATION_ID',
  context: {
    // User information
    user_id: 'user-123',
    user_name: 'John Doe',
    user_email: '[email protected]',

    // Custom business data
    subscription_tier: 'premium',
    account_balance: 150.0,

    // Any custom key-value pairs
    custom_field: 'custom_value',
  },
});

Supported Languages

The widget supports 22 languages including: English, Spanish, French, German, Italian, Portuguese, Dutch, Greek, Arabic, Hebrew, and more.

MoveoAI.init({
  integrationId: 'YOUR_INTEGRATION_ID',
  language: 'es', // Spanish
});

TypeScript Support

Full TypeScript definitions are included:

import MoveoAI, { WidgetController, WidgetConfig } from '@moveo-ai/web-client';

const config: WidgetConfig = {
  integrationId: 'YOUR_INTEGRATION_ID',
  context: {
    user_id: 'user-123',
  },
};

const controller: WidgetController = MoveoAI.init(config);

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Mobile browsers (iOS Safari, Android Chrome)

Support

License

MIT License - see LICENSE for details.