
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@chatbootai/chat
Advanced tools
This package provides a reusable web component that can be used to add an AI chatbot compatible with the ChatBootAI OpenAPI specification to any website.
npm install @chatbootai/chat-web-component
Once the package is installed, you can use the web component in your HTML code:
<cba-chat options="{ apiUrl: 'http://your-chat-backend.com' }"></cba-chat>
Depending of the framework and build system you're using, you'll have to import the web component in your JS code in different ways. You can have a look at the various integrations examples here:
This project uses Vite as a frontend build tool, and Lit as a web components library.
In the project directory, you can run:
npm run dev
To start the app in dev mode.
Open http://localhost:8000 to view it in the browser.
npm run build
To build the web component for production to the dist
folder.
npm run build:website
To build the demo website for the component to the dist
folder.
FAQs
Chat web component implementing the ChatBootAI protocol
The npm package @chatbootai/chat receives a total of 1 weekly downloads. As such, @chatbootai/chat popularity was classified as not popular.
We found that @chatbootai/chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.