Gathering detailed insights and metrics for fastify-websocket-server
Gathering detailed insights and metrics for fastify-websocket-server
Gathering detailed insights and metrics for fastify-websocket-server
Gathering detailed insights and metrics for fastify-websocket-server
graphql-ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client
ioserver
Damn simple Fastify & Socket.io server framework with TypeScript support
fastify-uws
A performant HTTP and WebSocket server for Fastify with uWebSockets.
uwebsockets
Fastest uWebSockets server for Node.js – µWebSockets outperforms Socket.IO & Fastify. Built in C++ for high-performance networking & pub/sub.
Mirro of https://gitlab.com/m03geek/fastify-websocket-server
npm install fastify-websocket-server
Typescript
Module System
Min. Node Version
Node Version
NPM Version
66.4
Supply Chain
89.3
Quality
74.9
Maintenance
100
Vulnerability
100
License
TypeScript (75.32%)
JavaScript (24.68%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
15 Commits
1 Watchers
12 Branches
1 Contributors
Updated on Jan 23, 2019
Latest Version
1.0.2
Package Id
fastify-websocket-server@1.0.2
Unpacked Size
9.19 kB
Size
3.88 kB
File Count
8
NPM Version
6.5.0
Node Version
11.7.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Fastify plugin that creates websocket server on your fastify instance.
fastify-ws
?ws
options in it's constructor.npm i fastify-websocket-server
1const fastify = require('fastify')() 2const websocketPlugin = require('fastify-websocket-server'); 3 4fastify.register(websocketPlugin, { 5 // The same options that `ws` supports 6}).after((err) => { 7 if (err) { throw err; } 8 fastify.wss 9 .on('connection', (ws) => { 10 ws.on('message', (msg) => { 11 socket.send(msg)); // echo message 12 } 13 }) 14}) 15fastify.listen(3000);
Docs available via link.
Any ideas or PR welcome
Allow setting message types via query param or some header. This will set default message mode.
The idea is if websocket message type is set to JSON to add following:
fast-json-stringify
module to serialize messages with schemasNo vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/15 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
79 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More