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

@dierbei/web-ai-sdk

v1.0.6

Published

High-performance, lightweight Web AI Chat Widget SDK (Maia Design)

Readme

Web AI SDK 🤖

🚀 Integrate a professional, aesthetic AI assistant widget into any website with just one line of code.

English 简体中文

GitHub Repository


English

✨ Features

  • Modern Skin Presets: 6 built-in themes (Professional, Glass, Midnight, Cyberpunk, Brutalist, Minimal).
  • Skin-Aware Tokens: Purely programmatic theming. Set one primaryColor and the SDK generates all shadows, glows, and contrast adjustments automatically.
  • Shadow DOM Isolation: Zero CSS pollution. Compatible with any website infrastructure, from legacy portals to modern SPAs.
  • Custom Mounting: Supports mounting to specific DOM containers with automatic absolute/fixed positioning logic.
  • Premium UX: Smooth "Thinking chains" visualization, auto-expanding inputs, and focus-aware UI interactions.

🚀 Integration

1. HTML (Standard)

<script src="https://your-cdn.com/web-ai-sdk/index.umd.js"></script>
<script>
  window.WebAiSdk.init({
    tenantId: "your-tenant-id",
    apiHost: "https://api.example.com",
  });
</script>

2. Vue 3

npm install @dierbei/web-ai-sdk
import { onMounted } from "vue";
import WebAiSdk from "@dierbei/web-ai-sdk";

onMounted(() => {
  WebAiSdk.init({
    tenantId: "your-tenant-id",
    apiHost: "https://api.example.com",
  });
});

3. React

npm install @dierbei/web-ai-sdk
import { useEffect } from "react";
import WebAiSdk from "@dierbei/web-ai-sdk";

function MyChat() {
  useEffect(() => {
    WebAiSdk.init({
      tenantId: "your-tenant-id",
      apiHost: "https://api.example.com",
    });
  }, []);

  return <div id="chat-container" />;
}

简体中文

✨ 核心特性

  • 流行皮肤系统:内置 6 套精心设计的 UI 预设(Professional, Glass, Midnight, Cyberpunk, Brutalist, Minimal)。
  • 智能色彩令牌:只需设置一个品牌主色,SDK 自动运算全套阴影、高光、发光强度及对比度适配。
  • Shadow DOM 隔离:物理级 CSS 属性隔离,绝不污染宿主网站样式,兼容任何年代的网站架构。
  • 自定义容器挂载:支持将 SDK 挂载到指定的 DOM 元素内,并自动处理 absolute/fixed 位置转换。
  • 现代化交互:流式深度思考过程可视化、智能自增高输入框、焦点高亮感应。

🚀 接入方式

1. HTML (CDN 直接接入)

<script src="https://your-cdn.com/web-ai-sdk/index.umd.js"></script>
<script>
  window.WebAiSdk.init({
    tenantId: "your-tenant-id",
    apiHost: "https://your-api-backend.com",
  });
</script>

2. Vue 3

npm install @dierbei/web-ai-sdk
<script setup>
import { onMounted } from "vue";
import WebAiSdk from "@dierbei/web-ai-sdk";

onMounted(() => {
  WebAiSdk.init({
    tenantId: "your-tenant-id",
    apiHost: "https://your-api-backend.com",
  });
});
</script>

3. React

npm install @dierbei/web-ai-sdk
import { useEffect } from "react";
import WebAiSdk from "@dierbei/web-ai-sdk";

function App() {
  useEffect(() => {
    WebAiSdk.init({
      tenantId: "your-tenant-id",
      apiHost: "https://api.yourbackend.com",
    });
  }, []);

  return <div>Your Website Content</div>;
}

Preview:

Repository: https://github.com/dierbei/web-ai-sdk