galax.be
v0.0.5
Published
Galax.be Javascript Client
Downloads
2
Readme
Galax.be
Galax.be is a key/value store as a service. It is specifically designed for serverless deployments. The client uses websockets for communication with the server. This gives a higher latency than using a lower level protocol, but it helps to setup a strong system for data replication and high availability and also helps to manage thousands of client connections to the database server, allowing to use it in a serverless environment like Zeit Now.
How to use
const Galax = require('galax.be')
const token = '...'
;(async () => {
await db.open(token)
await db.set('peter', 26)
const data = await db.get('peter')
console.log('data', data)
db.close()
})()