byjg

Jquery Sse — Development skill for Claude Code

Development community

jQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill.

How to install Jquery Sse

This entry records only its repository, not the path inside it, so there is no exact command to give. Open byjg/jquery-sse and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jquery Sse does

jQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill.

Alternatives in Development

  • Breach Check — HIBP k-anonymity check on a password wordlist 4.5k ★
  • Galatea Garden Wake Bridge — 独立的 Galatea Garden 智能体唤醒桥:订阅 Garden SSE 事件,并通过可替换的 Runtime Adapter 将消息注入 Codex、Claude Code 等 Agent Runtime 225 ★
  • Claude Code SDK TS — Configure models, enable tools, stream events, then fetch text, JSON, run details or token stats in one call v 206 ★

README


tags: [node.js, javascript]

jQuery SSE

A lightweight jQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill. This plugin tries to use the native EventSource object if it's supported by the browser. If there is no native support, the request is made by Ajax requests (polling). You do not need to change the server side nor the client side.

[![Build Status](https://github.com/byjg/jquery-sse/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/byjg/jquery-sse/actions/workflows/build.yml) [![Opensource ByJG](https://img.shields.io/badge/opensource-byjg-success.svg)](http://opensource.byjg.com) [![Install MCP Server](https://img.shields.io/badge/Install-MCP_Server-8A2BE2?logo=modelcontextprotocol&logoColor=white)](https://opensource.byjg.com/docs/ai/mcpserver-byjg-docs/) [![GitHub source](https://img.shields.io/badge/Github-source-informational?logo=github)](https://github.com/byjg/jquery-sse/) [![GitHub license](https://img.shields.io/github/license/byjg/jquery-sse.svg)](https://opensource.byjg.com/license/) [![GitHub release](https://img.shields.io/github/release/byjg/jquery-sse.svg)](https://github.com/byjg/jquery-sse/releases/) [![](https://data.jsdelivr.com/v1/package/npm/jquery-sse/badge)](https://www.jsdelivr.com/package/npm/jquery-sse)

*If you are looking for an SSE Polyfill library without jQuery dependency try [yaj-sse](https://github.com/byjg/yaj-sse). The yaj-sse is a port from version 0.1.4 of jQuery SSE.*

Quick Start

Client Side

var sse = $.SSE('http://example.com/sse-server.php', {
    onMessage: function(e){
        console.log("Message"); console.log(e);
    }
});
sse.start();

Server Side

echo "data: My Message\n";
echo "\n";

Documentation

For comprehensive documentation, please refer to the following guides:

  1. Getting Started - Installation, dependencies, and quick start guide
  2. Usage - Constructor, methods