Seshat-node
Node.js bindings for the Matrix message database/indexer Seshat.
Instalation
To install the bindings rust and npm are needed:
$ npm install
The above command will compile all the necessary rust libraries, install
javascript dependencies and build a node module. After the command is done
building the library can be used inside of node as usual:
const Seshat = require(".")
Usage
let db = new Seshat("/home/example/database_dir");
db.addEvent(textEvent, profile);
await db.commit();
let results = await db.search({search_term: 'Test'});