Quickstart
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
npm i -g satoridb
npm i satori-node
const {Satori} = require('satori-node');
const satori = new Satori({host: 'ws://127.0.0.1:2321'});
async function main(){
await satori.connect();
const key = await satori.set({data: {"email" : "test@test.com"}});
console.log(await satori.get({key}))
await satori.put({key, replace_field: "email", replace_value: "tes2@test.com"})
await satori.delete({key})
}
Was this page helpful?