Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

speyside

3.1.0 • Public • Published


npm version

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'}

Testling status

Licence

MIT

Install

npm i speyside

DownloadsWeekly Downloads

1

Version

3.1.0

License

MIT

Last publish

Collaborators

  • avatar