gStore/api/http/nodejs
bookug fbc0e2d963 style: change all code to clang-format 2020-07-12 16:09:13 +08:00
..
example style: change all code to clang-format 2020-07-12 16:09:13 +08:00
GstoreConnector.js style: change all code to clang-format 2020-07-12 16:09:13 +08:00
LICENSE add nodejs API 2018-10-07 14:13:04 +08:00
README.md Update nodejs API 2019-05-20 18:18:00 +08:00
package.json add nodejs API 2018-10-07 14:13:04 +08:00

README.md

gStoreNode

Node.js client for gStore

Usage

const GstoreConnector = require("GstoreConnector.js");
const gc = new GstoreConnector(
  "localhost",
  9000,
  "root",
  "123456"
);

(async function() {
  const res = await gc.query("lubm", "json", "select * where {?s ?p ?o}");
  console.log(JSON.stringify(res,","));
})();