0.0.3 • Published 3 years ago

apache-age-client v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
3 years ago

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);
})();
0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago