
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
muworker-socket
Advanced tools
Web Worker made available to mudb. Suitable for creating games with single-player mode by running the server in a separate thread to allow potentially better user experience.
var mudb = require('mudb')
var muWorkerSocket = require('muworker-socket')
var server = muWorkerSocket.createWorkerServer()
var socket = muWorkerSocket.createWorkerSocket({
sessionId: /* session id */,
server,
})
var muClient = new mudb.MuClient(socket)
muClient.start(/* handlers */)
npm i muworker-socket
Purely instructive types used to describe the API:
SessionId: stringData: Uint8Array | stringSocketState: an enum consisting of three members
SocketState.INITSocketState.OPENSocketState.CLOSEDSocketServerState: an enum consisting of three members
SocketServerState.INITSocketServerState.RUNNINGSocketServerState.SHUTDOWNcreateWorkerSocketServer()createWorkerSocket(spec)MuWorkerSocketServerstate:SocketServerStateclients:MuWorkerSocket[]start(spec)close()MuWorkerSocketstate:SocketStatesessionId:SessionIdopen(spec)send(data, unreliable?)close()© 2018 Shenzhen Dianmao Technology Company Limited
FAQs
Run mudb server in Web Worker
The npm package muworker-socket receives a total of 1 weekly downloads. As such, muworker-socket popularity was classified as not popular.
We found that muworker-socket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.