search/
Start typing to search packages!
package_2
snap
By @cometahn142
Roblox
MirroredSnap
Snap is a high-performance networking framework for Luau/Roblox, built on the principles of binary serialization and deferred task batching.
Documentation (Diátaxis Standard)
- Tutorial: A step-by-step lesson for getting started with Snap.
- Recipes: Practical guides for common real-world networking tasks.
- Concepts: Deep dive into the architecture and philosophies behind Snap.
- Specification: Formal technical specification, protocol bit-maps, and API reference.
Technical Highlights
- Binary Efficiency: Zero-overhead serialization using Luau
buffer. - Hybrid Support: Native
Instancereferencing via sidecar tables. - Anti-Cheat: Integrated
Guardsystem for flood and malformed frame protection. - Resilient Lifecycle:
Pre-readypacket queueing prevents loading-phase data loss.
Minimal Example
-- Define
local Net = Snap.define("Ping", { Signal = Snap.event(Snap.u8, "Reliable") })
-- Server
Snap.channel("Ping", Net).Signal:listen(print)
-- Client
Snap.channel("Ping", Net).Signal:send(1)
Engineered for scale. Built for Roblox.
Package Details
Install command (Click to copy)
Version
0.5.3
License
MIT
Safe for commercial use
Automated license review — not legal advice.
