🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@rhinon/botsdk-vite

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@rhinon/botsdk-vite

Rhinon Bot SDK - Modern chatbot widget built with React, TypeScript, Tailwind CSS, and Vite

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@rhinon/botsdk-vite

Modern chatbot widget SDK built with React, TypeScript, Tailwind CSS, and Vite. Features Shadow DOM for complete style isolation.

Installation

npm install @rhinon/botsdk-vite

Usage

import { initRhinontech } from '@rhinon/botsdk-vite'

// Initialize the chatbot
initRhinontech({
  app_id: 'YOUR_APP_ID'
})

UMD (Browser)

<script src="https://unpkg.com/@rhinon/botsdk-vite/dist/rhinonbot.umd.js"></script>
<script>
  RhinonBot({
    app_id: 'YOUR_APP_ID'
  })
</script>

TypeScript

import { initRhinontech, type RhinontechConfig } from '@rhinon/botsdk-vite'

const config: RhinontechConfig = {
  app_id: 'YOUR_APP_ID',
  admin: false,
  container: document.body // optional
}

initRhinontech(config)

API

initRhinontech(config: RhinontechConfig): ChatBotElement

Initializes and returns a chatbot element.

Configuration Options

interface RhinontechConfig {
  app_id?: string      // Your application ID
  admin?: boolean      // Admin mode (optional)
  container?: HTMLElement // Container element (defaults to document.body)
}

ChatBotElement

The custom element class. You can also use it directly:

<chat-bot></chat-bot>
<script>
  const bot = document.querySelector('chat-bot')
  bot.setConfig({ app_id: 'YOUR_APP_ID' })
</script>

Features

  • âś… Shadow DOM - Complete style isolation
  • âś… TypeScript - Full type definitions included
  • âś… React 18 - Built with latest React
  • âś… Tailwind CSS - Modern utility-first styling
  • âś… Vite - Fast build tooling
  • âś… ESM & UMD - Works in any environment

Development

# Install dependencies
npm install

# Run dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Publishing to npm

  • Update version in package.json
  • Build the package: npm run build
  • Publish: npm publish --access public

License

MIT

Keywords

chatbot

FAQs

Package last updated on 29 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts