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

@wakz/chat-widget

v1.0.1

Published

WAKZ Chat Widget — Liquid Glass design with Shadow DOM isolation, CSS Variables, Data-Driven customization, zero dependencies.

Readme

wakz-chat-widget

Premium AI chat widget by WAKZ — A production-grade, self-contained chat widget using Shadow DOM.

Competes with Intercom & Crisp in quality. Zero external dependencies — pure vanilla JavaScript.

Features

  • Shadow DOM isolation (no CSS conflicts)
  • Multi-language support (English, Arabic, French) with full RTL
  • Device detection (model, platform, type)
  • Online/offline status with animated indicators
  • Message polling with deduplication
  • Mobile responsive (full-screen on small devices)
  • Typing indicator animations
  • Welcome messages
  • Human agent badge support
  • Auto-resizing textarea input
  • Keyboard shortcuts (Enter to send, Shift+Enter for newline, Escape to close)
  • Smooth animations and transitions
  • Configurable theming (colors, position)

Installation

npm install wakz-chat-widget

Usage

Copy index.js from node_modules/wakz-chat-widget/ to your public folder and include it:

<script src="/wakz-widget.js"
  data-api-key="YOUR_API_KEY"
  data-server="https://your-server.com"
  async>
</script>

Configuration

The widget fetches its configuration from your server's /api/v1/embed/config endpoint. Configurable options include:

| Option | Type | Default | Description | |--------|------|---------|-------------| | botName | string | 'WAKZ' | Bot display name | | welcomeMessage | string | '' | Initial welcome message | | primaryColor | string | '#171717' | Primary theme color | | chatBg | string | '#f8f9fa' | Chat area background | | btnColor | string | '#171717' | FAB button color | | widgetBg | string | '#ffffff' | Widget background | | position | string | 'bottom-right' | Widget position | | language | string | 'en' | Language (en, ar, fr) | | showStatus | boolean | true | Show online/offline dot | | online | boolean | true | Initial status |

Version History

v2.2.0

  • Added device model, platform, and type detection (User-Agent Client Hints API + UA fallback)
  • Device info sent with session data for dashboard analytics

v2.0.0

  • Complete rewrite with Shadow DOM architecture
  • Multi-language support (EN/AR/FR) with RTL
  • Production-grade UI with animations

License

MIT