Skip to content

仓库 files navigation

JavaScript Client for Cayley

Installation

npm install @cayleygraph/cayley

Usage

Log 10 nodes from the graph

import * as cayley from "@cayleygraph/cayley";

const client = new cayley.Client();
const response = client.query(g.V().getLimit(10));
response
  .then(res => res.json())
  .then(nodes => {
    for (const node of nodes) {
      console.log(node);
    }
  });

关于

JavaScript client library for Cayley

Resources

Stars

5 stars

关注者

2 watching

复刻s

发布

Used by

贡献者

Languages