Registry / messaging / nadesiko3-websocket

nadesiko3-websocket

JSON →
library3.6.5jsnpmunverified

WebSocket server plugin for the Nadesiko3 programming language environment. Version 3.6.5 is the current stable release. This plugin enables WebSocket server functionality within Nadesiko3 scripts, allowing real-time bidirectional communication. Maintained as part of the Nadesiko3 ecosystem by kujirahand. It is specific to Nadesiko3 and not a general-purpose WebSocket library.

npm install nadesiko3-websocket
INSTALL
IMPORT
SIG · NADESIKO3-WEBSOCKE
N
nadesiko3-websocket
messagingjavascriptv3.6.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
const plugin = require('nadesiko3-websocket');
import plugin from 'nadesiko3-websocket';
CommonJS required; this package does not support ESM.

Shows how to load the Nadesiko3 WebSocket plugin, register it, and start a server using Nadesiko3 syntax.

const nadesiko3 = require('nadesiko3'); const websocket = require('nadesiko3-websocket'); // Register the WebSocket plugin nadesiko3.plugin('websocket', websocket); // Start a WebSocket server on port 8080 nadesiko3.exec(` ウェブソケットサーバーをポート8080で起動。 ウェブソケットサーバー受信時には、 メッセージを表示。 ウェブソケットサーバー接続時には、 「接続されました」と表示。 ウェブソケットサーバー切断時には、 「切断されました」と表示。 `);
Debug
Known issues
gotchaPlugin requires the nadesiko3 core package to be installed and loaded first.
fix
Ensure nadesiko3 is installed: npm install nadesiko3
affects: >=3.0.0
Errors
Common errors & fixes
Error: Cannot find module 'nadesiko3'
Missing nadesiko3 core dependency
fix
Run: npm install nadesiko3
Upgrade
Version history
3.6.5latest on npm
Audit
Dependencies
nadesiko3requiredCore runtime required to use this plugin
Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
nadesiko3-websocket — npm install nadesiko3-websocket · libregistry