0.0.1 • Published 7 years ago

replaydb v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

ReplayDB

stability-experimental NPM Version JavaScript Style Guide

A decentralized database with HTTP and WebSocket interface, based on hyperkafka.

npm i -g replaydb

Usage

$ replaydb path [key] [--port=8080]

Interface

GET /:topic/:offset

Return the message with given offset in the specified topic.

POST /:topic

Append a new message (passed by post body) to the topic.

ws://<HOST>/live/:topic/:offset

Return and listen all messages after the given offset in the specified topic with websocket.

License

The MIT License