@cayleygraph/cayley
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.1 • Public • Published

    JavaScript Client for Cayley

    Documentation

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

    Install

    npm i @cayleygraph/cayley

    DownloadsWeekly Downloads

    151

    Version

    1.2.1

    License

    Apache-2.0

    Unpacked Size

    56.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • iddan