directory
Version:
v0.7.2
Opens a new window with list of versions in this module.
Published: Apr 16, 2026
License: MIT
Opens a new window with license information.
README
¶
velox for Node.js
Server (Express Handler)
let foo = {
a: 1,
b: 2
};
//serve velox library
app.get("/velox.js", velox.JS);
//convert foo into a syncable object
//adds a $push function
app.get("/sync", velox.handle(foo));
//make changes
foo.a = 42;
foo.c = 7;
//push changes to clients
foo.$push();
Client
//TODO
velox.sse()
Directories
¶
Click to show internal directories.
Click to hide internal directories.