js/

directory
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL