Skip to main content

Install satori

npm i -g satoridb

Use it

Download our node SDK
npm i satori-node

CRUD

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" : "[email protected]"}});
  console.log(await satori.get({key}))
  
  await satori.put({key, replace_field: "email", replace_value: "[email protected]"})
  await satori.delete({key})
}
If you are curious about more examples, join our discord For more information on the Node SDK or on other languages’s SDKs go to the SDKs section

SDKs