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

isa-bubbles

v1.2.11

Published

Tiny, dependency-free JavaScript widgets that add interactive “bubbles” to any website — such as credits, contact forms, or feedback prompts.

Readme

isa-bubbles

Tiny, dependency-free JavaScript widgets that add interactive “bubbles” to any website — such as credits, contact forms, or feedback prompts.

Built in vanilla JS.


Features

  • Zero dependencies — lightweight and fast.
  • Drop-in ready — use via <script> tag or ES module import.
  • Auto-injected styles — no need to import CSS.
  • Customizable — change position, text, and behavior.
  • Includes:
    • CreditBubble — hover bubble that expands to show text.
    • ContactBubble — feedback/contact form bubble (uses EmailJS or custom logic).

Quick Start

Option 1: Use via <script> tag (no build setup)

Add this anywhere in your HTML:

<script src="https://cdn.jsdelivr.net/npm/isa-bubbles@latest/dist/isa-bubbles.min.js"></script>
<script>
  // example: credit bubble
  const credit = new CreditBubble({ text: "🍁" });

  // example: contact form bubble
  const contact = new ContactBubble({
    textCollapsed: "✉️",
    textExpanded: "Send feedback ✉️",
  });
</script>

Option 2: Import as a Module (for Modern Setups)

Install via npm:

npm install isa-bubbles

Then import and use in your code:

import { CreditBubble, ContactBubble } from "isa-bubbles";

// Credit bubble
new CreditBubble({
  text: "🍁",
});

// Contact bubble
new ContactBubble({
  textCollapsed: "✉️",
  textExpanded: "Send feedback ✉️",
});

API Reference

new CreditBubble(options)

| Option | Type | Default | Description | | ----------- | -------- | -------------- | ----------------------- | | text | string | "🍁" | Collapsed text or emoji | | hoverText | string | "made in 🍁" | Text shown on hover | | right | string | "10px" | Position from right | | bottom | string | "20px" | Position from bottom | | onClick | function | undefined | Callback when clicked |

new ContactBubble(options)

| Option | Type | Default | Description | | --------------- | ------ | -------------------- | ---------------------------- | | textCollapsed | string | "✉️" | Collapsed text | | textExpanded | string | "send feedback ✉️" | Expanded text | | right | string | 85px | (Optional) Position right | | bottom | string | 20px | (Optional) Position bottom |

Development

Clone and run locally:

  git clone https://github.com/LuisaTu2/isa-info-bubble.git
  cd isa-info-bubble
  npm install
  npm run build

Then open index.html in your browser to test locally.

Building for npm / CDN

The repo supports two builds:

ES Module → for import usage

IIFE (UMD) → for tag usage via CDN

Bundle using Rollup (recommended):

npm run build

Output files:

dist/isa-bubbles.min.js — browser-ready script

src/ — ESM version

Lessons Learned

This project started as a small experiment to publish a reusable UI widget on npm. It grew into a learning experience on:

  • npm publishing workflow

  • ESM vs UMD builds

  • style injection for JS components

  • making something both “plug & play” and modern

License

MIT © 2025 Luisa P