clayrisser / node-apache-age-client

https://gitlab.com/risserlabs/community/node-apache-age-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apache-age-client

nodejs client for apache age

This client was adapted from the apache age viewer.

https://github.com/apache/age-viewer

You can learn more about Apache Age at the following link.

https://age.apache.org

Setup

yarn add apache-age-client

Usage

import ApacheAgeClient from "apache-age-client";

(async () => {
  const client = ApacheAgeClient.connect({
    database: "postgres",
    graph: "some-graph",
    host: "localhost",
    password: "postgres",
    port: 5432,
    user: "postgres",
  });

  const result = await client.executeCypher(`
    SOME_CYPHER_QUERY
  `);

  console.log(result);
})();

About

https://gitlab.com/risserlabs/community/node-apache-age-client

License:Apache License 2.0


Languages

Language:JavaScript 51.8%Language:TypeScript 39.5%Language:Makefile 6.4%Language:ANTLR 1.9%Language:Nix 0.4%