1.1.2 • Published 3 years ago

lcdb-client v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

lcdb-client

Client api for lcdb.

const lcdbClient = require("lcdb-client");
const api = lcdbClient({
  host: "ws://localhost:8080",
  auth: "secret",
  wsOptions: {},
  maxWait: 5000,
  reconnectTimeout: 500
});
const db = api("db");
(async() => {
  await db.set("key", "value");
  await db.get("key").then(res => console.log(res));
  await db.delete("key");
})();
1.1.1

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago