speyside
v3.1.0
Published
Clientside request handlers
Downloads
4
Maintainers
Readme
Clientside history server. Has an interface broadly similar to Node's http
, so if you're clever you can reuse your server handlers.
var spey = require('speyside');
var server = spey.createServer(function(req) {
console.log(req.url, req.state);
});
server.listen();
server.navigate('/foo', {bar: 'baz'}); //⇒ '/foo' {bar: 'baz'}
Licence
MIT