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

@gail-ai/conversation-embed

v1.4.0

Published

A chat embed and widget for the Gail chat channel that allows users to chat with a Gail that you have setup in the Gail Portal

Readme

@gail-ai/conversation-embed

From the makers of Gail, comes a package so cool you'll want to use it on your website. You'll have your customers in awe of your AI-powered Gail assistant!

A chat embed and widget for the Gail chat channel that allows users to chat with a Gail that you have setup in the Gail Portal.

This package is a Web Component that encapsulates the Gail chat channel and widget. It is designed to be used in a variety of frameworks and environments and will work with any framework on any modern browser.

Installation

npm install @gail-ai/conversation-embed

CDN

<script src='https://unpkg.com/@gail-ai/conversation-embed' type='module'></script>

<gail-chat />

A chat embed for the Gail chat channel that allows users to chat with a Gail that you have setup in the Gail Portal on your assistants page.

This will expand to fill the open space given to it so it can appear seamless on your website.

Inline Chat Example

<gail-chat
  org-id="your-org-id"
  assistant-id="your-assistant-id" />

Required Props

| Property | Type | Description | |---|---|---| | assistant-id | string | The Assistant ID | org-id | string | The Organization ID

Optional Props

| Property | Type | Description | Default | |---|---|---|---| | color | string | The color of the buttons and highlights in hex format i.e. #0F0 or #0062e2 | "#0062e2" | | custom-image-url | string | The URL of the custom image to use for the widget icon | "" | | show-welcome-message | boolean | True if the chat should show the welcome message, false will show the default input / How can I help text | true | | user-reference | string | The user reference to use for the chat, advanced feature for identifying users | "" | | user-session | string | The session id to use for the chat, advanced feature for authenticating users | null | | verbose | string | When "true", displays configuration errors. When "false" (default), errors are hidden. | "false" |

<gail-drawer />

A drawer component for the Gail chatbot that slides in from the left or right side of the screen. Provides a chat interface that can be expanded to fullscreen.

Required Props Example Example

<gail-drawer
  org-id="your-org-id"
  assistant-id="your-assistant-id"/>

All Props Example Example

<gail-drawer
  org-id="your-org-id"
  assistant-id="your-assistant-id"
  position="right"
  default-width="400"
  default-height="600"
  color="#0062e2"
  chat-title="Chat with Gail">
</gail-drawer>

Required Props

| Property | Type | Description | |---|---|---| | assistant-id | string | The Assistant ID | org-id | string | The Organization ID

Optional Props

| Property | Type | Description | Default | |---|---|---|---| | chat-title | string | Chat Window Title | "Chat with Gail" | | color | string | The color of the buttons and highlights in hex format i.e. #0F0 or #0062e2 | "#0062e2" | | custom-image-url | string | The URL of the custom image to use for the drawer icon | "" | | default-width | number | The width of the drawer (in pixels) | 400 | | icon-position | "bottom-left" "bottom-right" "center-left" "center-right" "top-left" "top-right" | The position of the widget on the page | "bottom-right" | | position | "left" "right" | The position of the drawer on the page (left or right) | "right" | | show-welcome-message | boolean | True if the chat should show the welcome message, false will show the default input / How can I help text | true | | user-reference | string | The user reference to use for the chat, advanced feature for identifying users | "" | | user-session | string | The session id to use for the chat, advanced feature for authenticating users | null | | verbose | string | When "true", displays configuration errors. When "false" (default), errors are hidden. | "false" |

<gail-widget />

A widget for the Gail chatbot that allows users to chat with a Gail that you have setup in the Gail Portal on your assistants page.

Required Props Example Example

<gail-widget
  org-id="your-org-id"
  assistant-id="your-assistant-id"/>

All Props Example Example

<gail-widget
  org-id="your-org-id"
  assistant-id="your-assistant-id"
  position="bottom-right"
  icon-size="60"
  default-width="350"
  default-height="500">
</gail-widget>

Required Props

| Property | Type | Description | |---|---|---| | assistant-id | string | The Assistant ID | org-id | string | The Organization ID

Optional Props

| Property | Type | Description | Default | |---|---|---|---| | chat-title | string | Chat Window Title | "Chat with Gail" | | color | string | The color of the buttons and highlights in hex format i.e. #0F0 or #0062e2 | "#0062e2" | | custom-image-url | string | The URL of the custom image to use for the widget icon | "" | | default-height | number | The height of the small chat window (in pixels) | 500 | | default-width | number | The width of the small chat window (in pixels) | 350 | | icon-size | number | The size of the widget icon (in pixels) | 60 | | position | "bottom-center" "bottom-left" "bottom-right" "center-left" "center-right" "top-center" "top-left" "top-right" | The position of the widget on the page | "bottom-right" | | show-welcome-message | boolean | True if the chat should show the welcome message, false will show the default input / How can I help text | true | | user-reference | string | The user reference to use for the chat, advanced feature for identifying users | "" | | user-session | string | The session id to use for the chat, advanced feature for authenticating users | null | | verbose | string | When "true", displays configuration errors. When "false" (default), errors are hidden. | "false" |