{
globalThis.process = { env: { NODE_ENV: 'production' } }
const room = client.enter("your-room-id");
room.subscribe("others", (others) => {
if (others.count === 0) {
container.innerHTML = "You're the only one here.";
} else if (others.count === 1) {
container.innerHTML = "There is one other person here.";
} else {
container.innerHTML = "There are " + others.count + " other people here.";
}
});
}