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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@alemonjs/bubble

v2.1.0-alpha.5

Published

bubble platform

Readme

@alemonjs/bubble

Bubble 平台适配器 for AlemonJS

文档 https://bubble.alemonjs.com/developer/docs

安装

yarn add @alemonjs/bubble

配置

alemon.config.yaml 中配置:

bubble:
  # Bot Token(必填)
  token: 'YOUR_BOT_TOKEN'

  # WebSocket Gateway URL(可选,默认: wss://bubble.alemonjs.com/api/bot/gateway)
  GATEWAY_URL: 'wss://bubble.alemonjs.com/api/bot/gateway'

  # API Base URL(可选,默认: https://bubble.alemonjs.com/api/bot/v1)
  API_URL: 'https://bubble.alemonjs.com/api/bot/v1'

  # CDN Base URL(可选,默认: https://bubble-oss-files.alemonjs.com)
  CDN_URL: 'https://bubble-oss-files.alemonjs.com'

  # 订阅的事件类型(可选,默认: 所有可用事件)
  intent:
    - MESSAGE_CREATE
    - DM_MESSAGE_CREATE
    - GUILD_MEMBER_ADD

  # 主人配置(可选)
  master_key: []
  master_id: []

  # 代理配置(可选)
  websocket_proxy: ''
  request_proxy: ''

  # 客户端名称(可选,默认: alemonjs-bot)
  clientName: 'alemonjs-bot'

功能特性

  • ✅ WebSocket Gateway 实时事件推送
  • ✅ 完整的 HTTP API 接口支持
  • ✅ 文件上传功能
  • ✅ 类型安全的 TypeScript 支持
  • ✅ 自动重连机制
  • ✅ 事件订阅管理

API 文档

详细的 API 文档请参考:https://bubble.alemonjs.com/developer/docs

支持的事件类型

  • MESSAGE_CREATE - 频道新消息创建
  • MESSAGE_UPDATE - 频道消息更新
  • MESSAGE_DELETE - 频道消息删除
  • MESSAGE_UNPIN - 频道消息取消置顶
  • DM_MESSAGE_CREATE - 私聊新消息创建
  • DM_MESSAGE_UPDATE - 私聊消息更新
  • DM_MESSAGE_DELETE - 私聊消息删除
  • DM_MESSAGE_UNPIN - 私聊消息取消置顶
  • GUILD_MEMBER_ADD - 成员加入服务器
  • GUILD_MEMBER_UPDATE - 成员更新
  • GUILD_MEMBER_REMOVE - 成员离开服务器
  • BOT_READY - 机器人就绪
  • EVENTS_SUBSCRIBED - 事件订阅成功
  • EVENTS_UNSUBSCRIBED - 事件取消订阅成功
  • SUBSCRIBE_DENIED - 订阅被拒绝