The Conversational AI Widget bundled with all dependencies for easy embedding.
npm install @askbenny/convai-widget-embedA lightweight TypeScript widget for embedding conversational AI functionality with all dependencies bundled for easy integration.
This package provides a simple way to integrate conversational AI widgets into web applications. It serves as a wrapper around @askbenny/convai-widget-core with all dependencies pre-bundled for convenient embedding.
``bash`
npm install @askbenny/convai-widget-embed
`html`
`typescript`
import "@askbenny/convai-widget-embed";
The widget will automatically register itself when imported or loaded.
- Zero Configuration: Works out of the box with default settings
- Lightweight: Bundled with Vite for optimal performance
- TypeScript Support: Written in TypeScript with full type definitions
- CDN Ready: Available via unpkg for easy integration
- Node.js 16+
- pnpm (preferred package manager)
`bashInstall dependencies
pnpm install
$3
-
build - Build the library using Vite
- lint - Run all linting checks (TypeScript, ESLint, Prettier)
- lint:ts - TypeScript type checking
- lint:es - ESLint code quality checks
- lint:prettier - Prettier formatting checksBuild Output
The build process creates an IIFE (Immediately Invoked Function Expression) bundle at
dist/index.js` that can be easily embedded in any web page.Part of the convai-widget-embed monorepo.
MIT © ElevenLabs