ksdaemon/wampy.js

Feature-rich lightweight WAMP (Web Application Messaging Protocol) Javascript implementation

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 32 minutes ago
Added to GitGenius on July 31st, 2026
Created on January 31st, 2014
Open Issues & Pull Requests: 13 (+0)
GitHub issues: Enabled
Number of forks: 43
Total Stargazers: 300 (+0)
Total Subscribers: 11 (+0)

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 246 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Good first issue to solve (1)
  • feature (1)
  • house keeping (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 31.6 hours
90th percentile: 3.9 days
Tracked items: 3

Most active contributors

Detailed Description

Wampy.js is a TypeScript-based WAMP (Web Application Messaging Protocol) client library designed to work across browser, Node.js, and React Native environments. Written as a feature-rich yet lightweight implementation with zero external dependencies by default, it provides a complete implementation of the WAMP v2 specification built on top of WebSocket objects. The library includes full TypeScript type declarations out of the box and ships with a command-line interface tool for debugging and testing WAMP-based APIs, a feature added starting from version 7.1.

The library supports a comprehensive set of WAMP roles and features across multiple authentication methods. For authentication, Wampy.js implements ticket-based authentication, challenge-response authentication using the wampcra method, and cryptosign-based authentication. As a publisher, it supports subscriber black-white listing, publisher exclusion, publisher identification, payload passthru mode, and event retention. In the subscriber role, it offers pattern-based subscription, publication trust levels, publisher identification, payload passthru mode, and event retention. The caller role includes caller identification, progressive call invocations and results, call canceling, call timeout, and payload passthru mode. The callee role supports caller identification, progressive call invocations and results, call trust levels, pattern-based registration, shared registration, and payload passthru mode.

Wampy.js provides support for multiple serialization formats including JSON as the default native serializer, MessagePack, and CBOR, with the ability to add custom serializers. In Node.js environments, the library is compatible with both WebSocket-Node and the ws WebSocket client implementations. The API includes methods for connection management through constructor options, getOptions, setOptions, getOpStatus, and getSessionId functions. Core messaging functionality is provided through subscribe, unsubscribe, publish, call, progressiveCall, cancel, register, and unregister methods. The library features auto-reconnecting capabilities with configurable reconnection intervals and maximum retry attempts.

According to GitGenius activity tracking, the repository shows strong maintainer engagement with KSDaemon contributing six tracked events. Issue and pull request response latency shows a median of 0.0 hours with a mean of 31.6 hours across three tracked items, indicating responsive maintenance. The most active issue labels tracked include feature requests, house keeping tasks, and good first issues for new contributors. The repository's contributor network overlaps with major projects including oven-sh/bun, flutter/flutter, and golang/go, suggesting it attracts developers from significant open-source ecosystems.

The library provides extensive configuration options through its setOptions method, including debug logging, auto-reconnect settings with configurable intervals and retry limits, realm specification, custom hello details, URI validation modes, authentication credentials, and authentication plugin support. The CLI tool exposes nearly all API options to the command line interface, supporting all authorization types, publish, subscribe, register, and call operations with additional helper options like the mirror option for registration commands. The tool includes rich help descriptions, examples, and shell auto-completion scripts, with parameters configurable via command-line arguments or environment variables for convenience.

wampy.js
by
ksdaemonksdaemon/wampy.js

Repository Details

Fetching additional details & charts...