leveldb-tcp-server
A redis compatible protocal levelDB tcp server
Usage
$ npm install leveldb-tcp-server
const Server = ; const server = port: 2407 dbPath: './test' server;
or
$ git clone https://github.com/HoMuChen/leveldb-tcp-server.git
$ cd leveldb-tcp-server
$ npm run start
this script will default run a server listening on port 2407 and create a directory test for the leveldb data.
Client access
Application protocal is compatible with redis protocal, so we can use redis client library to access db.
const redis = const client = redis; client;
For now, I only implement the get, set and del command.
Author
HoMuchen - b98901052@ntu.edu.tw