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

quickstart-ai-chatbot-widget

v1.0.0

Published

A customizable, secure AI Chatbot widget for business websites.

Readme

Quickstart AI Chatbot Widget

A customizable, secure React chatbot widget component. It enables business owners to easily integrate a custom AI-driven chatbot widget on their website by passing a token and their API endpoint.

Installation

npm install quickstart-ai-chatbot-widget

Usage

import React from 'react';
import { ChatBot } from 'quickstart-ai-chatbot-widget';

function App() {
  return (
    <div>
      <ChatBot 
        token="YOUR_BUSINESS_TOKEN" 
        apiUrl="https://your-api-endpoint.com/api/v1" // Your quickstart-ai backend URL
        theme="primary"
        wantToShowSuggestions={true}
      />
    </div>
  );
}

export default App;

Props Customization

You can use the following props to customize the widget's behavior and appearance:

| Prop Name | Type | Description | |-----------|------|-------------| | token | string | (Required) The unique integration token key for your registered business. | | apiUrl | string | (Required) The API backend endpoint where chat session and messages are processed. | | toggleBtncolor | string | The icon color of the floating chatbot button (e.g., white or #ffffff). | | toggleBtnBgColor | string | The background color of the floating chatbot button (e.g., #007bff). | | icon | ReactNode | Custom icon for the closed state button (defaults to TbMessageChatbot). | | position | 'left' | 'right' | The position of the chatbot button and window on the screen (default: right). | | animate | boolean | Enables a subtle bounce animation on the closed toggle button (default: true). | | theme | 'primary' | 'secondary' | 'professional' | 'tech' | The UI theme color scheme for the widget (default: primary). | | wantToShowSuggestions | boolean | If enabled, displays alternative dynamic suggestion questions when the chatbot cannot fully address a query (default: false). |


🔒 Security & Privacy Transparency

This library acts strictly as a UI wrapper client for your backend chatbot service.

  • PII Collection: When a user starts a chat, they are prompted for their name and email. This information is used solely to generate a session ID for backend context management.
  • Data Transmission: All submitted names, emails, and chat messages are sent exclusively to the endpoint you configure in the apiUrl prop. No telemetry or data is sent to third-party servers.
  • Authentication: All API requests are verified using the business-specific token prop.

License

This project is licensed under the MIT License.