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

hummer-rts-sdk

v3.2.1

Published

real-time signal

Downloads

11

Readme

[TOC]

Hummer RTS js-sdk

动态

[2020-07-21] hummer-rts-sdk 3.2.1

【重要】域名从web-ap-service.sunclouds.com更新为web-ap-service.jocloud.com

项目需要web-ap-service.sunclouds.com停用。必须更新新的js-sdk,新域名为web-ap-service.jocloud.com

[2020-07-07] hummer-rts-sdk 3.2.0

3.2.x新版本与3.1.x旧版本兼容:

用户属性与频道属性操作8个API做了是否发送广播的控制开关优化

| API | 功能 | | ---------- | ------ | | setUserAttributes | room设置本地用户属性 | | deleteUserAttributesByKeys | room删除本地用户某些属性 | | addOrUpdateUserAttributes | room添加或更新本地用户的属性 | | clearUserAttributes | room清空本地用户的属性 | | setRoomAttributes | room全量设置某指定房间的属性 | | deleteRoomAttributesByKeys | room删除某指定房间的指定属性 | | addOrUpdateRoomAttributes | room更新房间属性 | | clearRoomAttributes | room清空某指定房间的属性 |

  • 3.1.x 旧版本SDK无对应字段,后台默认发送广播

  • 3.2.x 新版本SDK默认不发广播,由业务控制是否需要发送广播

hummer-rts-sdk js-sdk安装配置

npm包路径:https://www.npmjs.com/package/hummer-rts-sdk

(1)npm包

最新版本引入:

npm install hummer-rts-sdk

指定版本引入:

npm install [email protected]
import Hummer from 'humer-rts-sdk'

(2)采用http方式引用聊天室js_sdk

<script charset="utf-8" src="./path/hummer-rts-sdk-x.x.x.js"></script>

使用js-sdk的业务部署在后端服务器。